net.sourceforge.nite.datainspection.impl
Class SetValue

java.lang.Object
  extended by 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
           
 
Constructor Summary
SetValue(java.util.List value)
           
SetValue(java.util.Set value)
           
SetValue(java.lang.String[] value)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public java.util.Set value
Constructor Detail

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)
Method Detail

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