T
- the type of the source
TODO: good name?public class GenericCollationKey<T> extends Object implements Comparable<GenericCollationKey<T>>
CollationKey
, which has a reference to the orignial source (which doesn't have to be a String
).Modifier and Type | Method and Description |
---|---|
int |
compareTo(GenericCollationKey<T> o) |
boolean |
equals(Object obj) |
CollationKey |
getCollationKey()
Gets the
CollationKey for the displayString of getSource() |
T |
getSource()
Gets the original source.
|
int |
hashCode() |
public int compareTo(GenericCollationKey<T> o)
compareTo
in interface Comparable<GenericCollationKey<T>>
public T getSource()
public CollationKey getCollationKey()
CollationKey
for the displayString of getSource()
Copyright © 2002–2015 SoftSmithy. All rights reserved.