Class Key


  • public class Key
    extends java.lang.Object
    Key.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Key.Type  
    • Constructor Summary

      Constructors 
      Constructor Description
      Key​(Key.Type type, java.util.Optional<java.lang.Number> number, java.util.Optional<java.lang.String> string, java.util.Optional<java.lang.Number> date, java.util.Optional<java.util.List<Key>> array)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.util.List<Key>> getArray()
      Array value.
      java.util.Optional<java.lang.Number> getDate()
      Date value.
      java.util.Optional<java.lang.Number> getNumber()
      Number value.
      java.util.Optional<java.lang.String> getString()
      String value.
      Key.Type getType()
      Key type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Key

        public Key​(Key.Type type,
                   java.util.Optional<java.lang.Number> number,
                   java.util.Optional<java.lang.String> string,
                   java.util.Optional<java.lang.Number> date,
                   java.util.Optional<java.util.List<Key>> array)
    • Method Detail

      • getType

        public Key.Type getType()
        Key type.
      • getNumber

        public java.util.Optional<java.lang.Number> getNumber()
        Number value.
      • getString

        public java.util.Optional<java.lang.String> getString()
        String value.
      • getDate

        public java.util.Optional<java.lang.Number> getDate()
        Date value.
      • getArray

        public java.util.Optional<java.util.List<Key>> getArray()
        Array value.