|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkodkod.util.ints.AbstractIndexedEntry<V>
public abstract class AbstractIndexedEntry<V>
A skeletal implementation of the IndexedEntry interface.
index: int |
value: V |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compares the specified object with this entry for equality. |
int |
hashCode()
Returns the hash code value for this indexed entry. |
int |
index()
Returns the index of this entry. |
java.lang.String |
toString()
|
V |
value()
Returns the value stored in this entry. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int index()
IndexedEntry
index
in interface IndexedEntry<V>
IndexedEntry.index()
public V value()
IndexedEntry
value
in interface IndexedEntry<V>
IndexedEntry.value()
public boolean equals(java.lang.Object o)
equals
in interface IndexedEntry<V>
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface IndexedEntry<V>
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |