public class KeyedValuesItemKey extends Object implements ItemKey, Serializable
Constructor and Description |
---|
KeyedValuesItemKey(Comparable<? extends Object> key)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests this instance for equality with an arbitrary object.
|
Comparable<?> |
getKey()
Returns the key.
|
String |
toJSONString()
Returns a JSON formatted string representing the key.
|
String |
toString() |
public KeyedValuesItemKey(Comparable<? extends Object> key)
key
- the key (null
not permitted).public Comparable<?> getKey()
null
).public boolean equals(Object obj)
public String toJSONString()
ItemKey
toJSONString
in interface ItemKey
Copyright © 2001–2017 JFree.org. All rights reserved.