railo.runtime.type.comparator
Class TextComparator

java.lang.Object
  extended by railo.runtime.type.comparator.TextComparator
All Implemented Interfaces:
Comparator

public final class TextComparator
extends Object
implements Comparator

comparator implementation to compare textes


Constructor Summary
TextComparator(boolean isAsc, boolean ignoreCase)
          constructor of the class
 
Method Summary
 int compare(Object oLeft, Object oRight)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

TextComparator

public TextComparator(boolean isAsc,
                      boolean ignoreCase)
constructor of the class

Parameters:
isAsc - ascending or desending
ignoreCase - ignore case or not
Method Detail

compare

public int compare(Object oLeft,
                   Object oRight)
Specified by:
compare in interface Comparator


Copyright © 2012 Railo