org.mmbase.util
Class SortedBundle.ValueWrapper
java.lang.Object
org.mmbase.util.SortedBundle.ValueWrapper
- All Implemented Interfaces:
- Comparable
- Enclosing class:
- SortedBundle
- public static class SortedBundle.ValueWrapper
- extends Object
- implements Comparable
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 v)
SortedBundle.ValueWrapper
public SortedBundle.ValueWrapper(Object k,
Object v,
Comparator c)
compareTo
public int compareTo(Object o)
- Specified by:
compareTo in interface Comparable
equals
public boolean equals(Object o)
toString
public String toString()
getKey
public Object getKey()
hashCode
public int hashCode()
- See Also:
Object.hashCode()
MMBase build 1.8.1.20060716