org.xcmis.search.lucene.index
Class ExtendedNumberTools
java.lang.Object
org.xcmis.search.lucene.index.ExtendedNumberTools
public class ExtendedNumberTools
- extends Object
Helper class. To convert double and BigDecimal to sorted strings
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendedNumberTools
public ExtendedNumberTools()
doubleToString
public static String doubleToString(double doubleVal)
- Converts a long to a String suitable for indexing.
- Parameters:
doubleVal - double value
- Returns:
- double as string
bigDecimalToString
public static String bigDecimalToString(BigDecimal bigDecimal)
- Converts a long to a String suitable for indexing.
- Parameters:
doubleVal - double value
- Returns:
- double as string
Copyright © 2011 eXo Platform SAS. All Rights Reserved.