org.gcube.application.framework.search.library.util
Class ArraysSorter

java.lang.Object
  extended by org.gcube.application.framework.search.library.util.ArraysSorter
All Implemented Interfaces:
Comparator<CollectionInfo>

public class ArraysSorter
extends Object
implements Comparator<CollectionInfo>


Nested Class Summary
static class ArraysSorter.Order
           
 
Constructor Summary
ArraysSorter()
           
 
Method Summary
 int compare(CollectionInfo colInfo1, CollectionInfo colInfo2)
           
 void setSortingBy(ArraysSorter.Order sortBy)
           
 
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
 

Constructor Detail

ArraysSorter

public ArraysSorter()
Method Detail

setSortingBy

public void setSortingBy(ArraysSorter.Order sortBy)

compare

public int compare(CollectionInfo colInfo1,
                   CollectionInfo colInfo2)
Specified by:
compare in interface Comparator<CollectionInfo>


Copyright © 2013. All Rights Reserved.