trunk contents moved to root

This commit is contained in:
Jindra Petřík
2014-05-10 20:50:57 +02:00
parent 1b851e66a8
commit 199a4d0c2b
2296 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
package com.jpexs.proxy;
class Key {
private String name = null;
/**
* Create a Key.
*/
Key(String name) {
this.name = name;
}
/**
* Return a lowercase hashCode.
*/
public int hashCode() {
String s = name.toLowerCase();
return s.hashCode();
}
/**
* Return a lowercase equals.
*/
public boolean equals(Object obj) {
return name.equalsIgnoreCase(obj.toString());
}
/**
* Return the key.
*/
public String toString() {
return name;
}
}