org.mmbase.util
Class SortedBundle.ValueWrapper
java.lang.Object
org.mmbase.util.SortedBundle.ValueWrapper
- All Implemented Interfaces:
- Comparable<SortedBundle.ValueWrapper>
- Enclosing class:
- SortedBundle
public static class SortedBundle.ValueWrapper
- extends Object
- implements Comparable<SortedBundle.ValueWrapper>
You can specify ValueWrapper.class as a value for the wrapper argument. The keys will be objects with natural order of the values.
SortedBundle.ValueWrapper
public SortedBundle.ValueWrapper(Object k,
Comparable<Object> v)
SortedBundle.ValueWrapper
public SortedBundle.ValueWrapper(Object k,
Object v,
Comparator<Object> c)
compareTo
public int compareTo(SortedBundle.ValueWrapper other)
- Specified by:
compareTo in interface Comparable<SortedBundle.ValueWrapper>
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
getKey
public Object getKey()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
- See Also:
Object.hashCode()
MMBase 2.0-SNAPSHOT - null