jfreerails.util
Class ListKey

java.lang.Object
  extended by jfreerails.util.ListKey
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ListKey>

public class ListKey
extends java.lang.Object
implements java.lang.Comparable<ListKey>, java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
static class ListKey.Type
           
 
Field Summary
private  int[] index
           
private  java.lang.Enum listID
           
private static long serialVersionUID
           
private  ListKey.Type type
           
 
Constructor Summary
ListKey(ListKey.Type t, java.lang.Enum listID, int... i)
           
 
Method Summary
 int compareTo(ListKey o)
           
 boolean equals(java.lang.Object o)
           
 int[] getIndex()
           
 java.lang.Enum getListID()
           
 ListKey.Type getType()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

type

private final ListKey.Type type

index

private final int[] index

listID

private final java.lang.Enum listID
Constructor Detail

ListKey

public ListKey(ListKey.Type t,
               java.lang.Enum listID,
               int... i)
Method Detail

getIndex

public int[] getIndex()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getType

public ListKey.Type getType()

compareTo

public int compareTo(ListKey o)
Specified by:
compareTo in interface java.lang.Comparable<ListKey>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getListID

public java.lang.Enum getListID()