|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jmlspecs.samples.table.EntryImplementation
Entries for Tables that map an index to a value.
| Field Summary | |
private JMLType |
ind
The index stored for this entry. |
private JMLType |
val
The value stored for this entry. |
| Constructor Summary | |
EntryImplementation(JMLType ind,
JMLType val)
Initialize this entry. |
|
| Method Summary | |
Object |
clone()
Return a clone of this object. |
boolean |
equals(Object o)
Test whether this object's value is equal to the given argument. |
JMLType |
getIndex()
The model of the index of this entry. |
JMLType |
getValue()
Return this entry's value. |
int |
hashCode()
Return a hash code for this object. |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private JMLType ind
private JMLType val
| Constructor Detail |
public EntryImplementation(JMLType ind,
JMLType val)
| Method Detail |
public JMLType getIndex()
Entry
getIndex in interface Entrypublic JMLType getValue()
Entry
getValue in interface Entrypublic boolean equals(Object o)
JMLType
equals in interface Entryequals in class Objectpublic int hashCode()
JMLType
hashCode in interface JMLTypehashCode in class Objectpublic Object clone()
JMLType
clone in interface Entryclone in class Object
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||