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 TypeMethodDescriptionintcompare(IValueHolder<?> p_vh1, IValueHolder<?> p_vh2) static final ValueHolderHelper.VhComparatorGet the singleton instance.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
getInstance
Get the singleton instance. -
compare
- Specified by:
comparein interfaceComparator<IValueHolder<?>>
-