JML

org.jmlspecs.samples.table
Interface Entry

All Superinterfaces:
Cloneable, JMLType, Serializable
All Known Implementing Classes:
EntryImplementation

public interface Entry
extends JMLType

Table entries, which are pairs of an index and a value. These are both JMLType objects.

Author:
Gary T. Leavens, Albert L. Baker

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.
 
Methods inherited from interface org.jmlspecs.models.JMLType
hashCode
 

Method Detail

getIndex

public JMLType getIndex()
The model of the index of this entry. The model of the value of this entry. Return this entry's index.


getValue

public JMLType getValue()
Return this entry's value.


equals

public boolean equals(Object o)
Description copied from interface: JMLType
Test whether this object's value is equal to the given argument.

Specified by:
equals in interface JMLType

clone

public Object clone()
Description copied from interface: JMLType
Return a clone of this object.

Specified by:
clone in interface JMLType

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.