Class IdentifyValueUtil

java.lang.Object
io.higson.runtime.builtin.utils.IdentifyValueUtil

public class IdentifyValueUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Wspierane typy: boolean: Boolean, string integer (64 bit): Integer, Long, Short, Byte, string number: BigDecimal, BigInteger, Double, Float, string localDate: LocalDate, string localDateTime: LocalDateTime, Date, joda DateTime, string string Other types (and NaN/infinite floating point values) are not identified.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IdentifyValueUtil

      public IdentifyValueUtil()
  • Method Details

    • identify

      public static Optional<ValueHolder> identify(Object obj)
      Wspierane typy:
      • boolean: Boolean, string
      • integer (64 bit): Integer, Long, Short, Byte, string
      • number: BigDecimal, BigInteger, Double, Float, string
      • localDate: LocalDate, string
      • localDateTime: LocalDateTime, Date, joda DateTime, string
      • string
      Other types (and NaN/infinite floating point values) are not identified.