Package org.javlo.fields
Class SortContainer
- java.lang.Object
-
- org.javlo.fields.SortContainer
-
- All Implemented Interfaces:
Comparator<IFieldContainer>
public class SortContainer extends Object implements Comparator<IFieldContainer>
-
-
Constructor Summary
Constructors Constructor Description SortContainer(ContentContext ctx, String inField)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(IFieldContainer f1, IFieldContainer f2)
static void
main(String[] args)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
SortContainer
public SortContainer(ContentContext ctx, String inField)
-
-
Method Detail
-
compare
public int compare(IFieldContainer f1, IFieldContainer f2)
- Specified by:
compare
in interfaceComparator<IFieldContainer>
-
main
public static void main(String[] args)
-
-