Example usage for Java org.jfree.data KeyToGroupMap fields, constructors, methods, implement or subclass
The text is from its open source code.
KeyToGroupMap(Comparable defaultGroup) Creates a new map with the specified default group. | |
KeyToGroupMap() Creates a new map with a default group named 'Default Group'. |
Object | clone() Returns a clone of the map. |
Object | clone(Object object) Attempts to clone the specified object using reflection. |
Collection | clone(Collection list) Returns a clone of the list. |
boolean | equals(Object obj) Tests the map for equality against an arbitrary object. |
Class> | getClass() Returns the runtime class of this Object . |
Comparable | getGroup(Comparable key) Returns the group that a key is mapped to. |
int | getGroupCount() Returns the number of groups in the map. |
int | getGroupIndex(Comparable group) Returns the index for the group. |
List | getGroups() Returns a list of the groups (always including the default group) in the map. |
int | getKeyCount(Comparable group) Returns the number of keys mapped to the specified group. |
void | mapKeyToGroup(Comparable key, Comparable group) Maps a key to a group. |