Package railo.runtime.type.comparator

Examples of railo.runtime.type.comparator.NumberComparator


      if(localeSensitive)return toCollator(pc,Collator.TERTIARY);
      return new TextComparator(isAsc,true);
    }
    // numeric
    else if(sortType.equalsIgnoreCase("numeric")) {
      return new NumberComparator(isAsc);
    }
    else {
      throw new ExpressionException("invalid sort type ["+sortType+"], sort types are [text, textNoCase, numeric]");
   
  }
View Full Code Here

TOP

Related Classes of railo.runtime.type.comparator.NumberComparator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.