public class KeyedValues3DItemKey<S extends java.lang.Comparable<S>,R extends java.lang.Comparable<R>,C extends java.lang.Comparable<C>> extends java.lang.Object implements ItemKey, java.lang.Comparable<KeyedValues3DItemKey<S,R,C>>, java.io.Serializable
KeyedValues3D data
structure. Instances of this class are immutable (subject to the caller
using series, row and column keys that are immutable).| Constructor and Description |
|---|
KeyedValues3DItemKey(S seriesKey,
R rowKey,
C columnKey)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(KeyedValues3DItemKey<S,R,C> key) |
boolean |
equals(java.lang.Object obj)
Tests this key for equality with an arbitrary object.
|
C |
getColumnKey()
Returns the column key.
|
R |
getRowKey()
Returns the row key.
|
S |
getSeriesKey()
Returns the series key.
|
int |
hashCode() |
java.lang.String |
toJSONString()
Returns a JSON formatted string representing the key.
|
java.lang.String |
toString() |
public KeyedValues3DItemKey(S seriesKey, R rowKey, C columnKey)
seriesKey - the series key (null not permitted).rowKey - the row key (null not permitted).columnKey - the column key (null not permitted).public S getSeriesKey()
null).public C getColumnKey()
null).public int compareTo(KeyedValues3DItemKey<S,R,C> key)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toJSONString()
ItemKeytoJSONString in interface ItemKeypublic java.lang.String toString()
toString in class java.lang.Object