org.mmbase.util
Class SortedBundle.ValueWrapper

java.lang.Object
  extended byorg.mmbase.util.SortedBundle.ValueWrapper
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
SortedBundle

public static class SortedBundle.ValueWrapper
extends java.lang.Object
implements java.lang.Comparable

You can specify ValueWrapper.class as a value for the wrapper argument. The keys will be objects with natural order of the values.

To Do:
EXPERIMENTAL

Constructor Summary
protected SortedBundle.ValueWrapper(java.lang.String k, java.lang.Comparable v)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortedBundle.ValueWrapper

protected SortedBundle.ValueWrapper(java.lang.String k,
                                    java.lang.Comparable v)
Method Detail

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

equals

public boolean equals(java.lang.Object o)


MMBase build 1.7.1.20041002