public final class Key<T> extends Object implements StringValue, Comparable<Key<T>>, Serializable
Constructor and Description |
---|
Key(String name) |
Key(StringValue stringValue) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Key<T> other) |
boolean |
equals(Object other) |
int |
hashCode() |
String |
stringValue()
Returns the
String value of this object. |
String |
toString() |
public Key(@Nonnull StringValue stringValue)
@Nonnull public String stringValue()
StringValue
String
value of this object.stringValue
in interface StringValue
public int compareTo(@Nonnull Key<T> other)
compareTo
in interface Comparable<Key<T>>
public boolean equals(@CheckForNull Object other)
Copyright © 2009–2016 Tidalwave s.a.s. (http://tidalwave.it). All rights reserved.