R
- the row key type.C
- the column key type.public class KeyedValues2DItemKey<R extends Comparable<R>,C extends Comparable<C>> extends Object implements ItemKey, Comparable<KeyedValues2DItemKey<R,C>>, Serializable
KeyedValues2D
data
structure. Instances of this class are immutable (subject to the caller
using series, row and column keys that are immutable).Constructor and Description |
---|
KeyedValues2DItemKey(R rowKey,
C columnKey)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(KeyedValues2DItemKey<R,C> key) |
boolean |
equals(Object obj)
Tests this key for equality with an arbitrary object.
|
C |
getColumnKey()
Returns the column key.
|
R |
getRowKey()
Returns the row key.
|
int |
hashCode() |
String |
toJSONString()
Returns a JSON formatted string representing the key.
|
String |
toString() |
public R getRowKey()
null
).public C getColumnKey()
null
).public int compareTo(KeyedValues2DItemKey<R,C> key)
compareTo
in interface Comparable<KeyedValues2DItemKey<R extends Comparable<R>,C extends Comparable<C>>>
public boolean equals(Object obj)
public String toJSONString()
ItemKey
toJSONString
in interface ItemKey
Copyright © 2001–2017 JFree.org. All rights reserved.