net.sf.magicproject.tools
Class PairStringBoolean
java.lang.Object
net.sf.magicproject.tools.PairStringBoolean
- All Implemented Interfaces:
- java.lang.Comparable<PairStringBoolean>
public class PairStringBoolean
- extends java.lang.Object
- implements java.lang.Comparable<PairStringBoolean>
- Author:
- Fabrice Daugan
Field Summary |
java.lang.String |
text
The stored string instance. |
java.lang.Boolean |
value
The stored boolean value. |
Constructor Summary |
PairStringBoolean(java.lang.String text,
java.lang.Boolean value)
Creates a new instance of PairStringInt
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
text
public java.lang.String text
- The stored string instance.
value
public java.lang.Boolean value
- The stored boolean value.
PairStringBoolean
public PairStringBoolean(java.lang.String text,
java.lang.Boolean value)
- Creates a new instance of PairStringInt
- Parameters:
text
- thestring key.value
- the boolean value.
compareTo
public int compareTo(PairStringBoolean pair)
- Specified by:
compareTo
in interface java.lang.Comparable<PairStringBoolean>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object context)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2007 Magic-Project. All Rights Reserved.