T
- subclass of Datapublic class CaddyComparator<T extends Data>
extends java.lang.Object
implements java.util.Comparator<T>
Constructor and Description |
---|
CaddyComparator()
Constructs a new CaddyComparator using
BasicStorable.MdateComparator
as default comparator. |
CaddyComparator(java.util.Comparator<T> comparator)
Contructs a new CaddyComparator using the specified comparator.
|
public CaddyComparator()
BasicStorable.MdateComparator
as default comparator.public CaddyComparator(java.util.Comparator<T> comparator)
comparator
- the Comparator to use when Data are either both in caddy or
else both not in caddy, also if object could not be compared (for example
when no Caddy could be retrieved or if object are not instance of Data).java.lang.IllegalArgumentException
- when specified comparator is null.Copyright © 2001-2010 Jalios SA. All Rights Reserved.