You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
597 B
31 lines
597 B
package util;
|
|
|
|
public class Key /*implements Comparable<Key> */ {
|
|
// private final String value;
|
|
//
|
|
// Key(String value) {
|
|
// this.value = value;
|
|
// }
|
|
//
|
|
// @Override
|
|
// public int compareTo(Key o) {
|
|
// return Objects.compare(this.value, o.value);
|
|
// }
|
|
//
|
|
// @Override
|
|
// public boolean equals(Object o) {
|
|
// if (this.equals(o)) {
|
|
// return true;
|
|
// }
|
|
// if (o == null || getClass() != o.getClass()) {
|
|
// return false;
|
|
// }
|
|
// Key key = (Key) o;
|
|
// return Objects.equals(value, key.value);
|
|
// }
|
|
//
|
|
// @Override
|
|
// public int hashCode() {
|
|
// return 0;
|
|
// }
|
|
} |