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
Modifier and TypeMethodDescriptionint
compare
(IValueHolder<?> p_vh1, IValueHolder<?> p_vh2) static final ValueHolderHelper.VhComparator
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 Details
-
getInstance
Get the singleton instance. -
compare
- Specified by:
compare
in interfaceComparator<IValueHolder<?>>
-