net.sourceforge.nite.datainspection.impl
Class SetValue
java.lang.Object
net.sourceforge.nite.datainspection.impl.SetValue
- All Implemented Interfaces:
- Value
public class SetValue
- extends java.lang.Object
- implements Value
SetValue is a Value for Sets of Objects
- See Also:
it defines a distance between two SetValues
Field Summary |
java.util.Set |
value
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
public java.util.Set value
SetValue
public SetValue(java.util.Set value)
- Parameters:
value
- should not be null
SetValue
public SetValue(java.lang.String[] value)
SetValue
public SetValue(java.util.List value)
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface Value
- Returns:
- the value Object wrapped by this Value
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
- Returns:
- true iff this set wrapped equals o's set
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object