Class ValueHolderHelper.VhComparator
- java.lang.Object
-
- de.uplanet.lucy.server.dataobjects.impl.ValueHolderHelper.VhComparator
-
- All Implemented Interfaces:
Comparator<IValueHolder<?>>
- Enclosing class:
- ValueHolderHelper
public static class ValueHolderHelper.VhComparator extends Object implements Comparator<IValueHolder<?>>
Value holder comparator. It compares by value (or the VHs itself are null).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(IValueHolder<?> p_vh1, IValueHolder<?> p_vh2)
static ValueHolderHelper.VhComparator
getInstance()
Get the singleton instance.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
getInstance
public static final ValueHolderHelper.VhComparator getInstance()
Get the singleton instance.
-
compare
public int compare(IValueHolder<?> p_vh1, IValueHolder<?> p_vh2)
- Specified by:
compare
in interfaceComparator<IValueHolder<?>>
-
-