Class UniValueNode<T>

  • All Implemented Interfaces:
    org.comroid.api.SelfDeclared<UniNode>, org.comroid.api.Specifiable<UniNode>

    public class UniValueNode<T>
    extends UniNode
    • Method Detail

      • getBaseNode

        public final java.lang.Object getBaseNode()
        Specified by:
        getBaseNode in class UniNode
      • get

        @NotNull
        public @NotNull UniNode get​(int index)
        Specified by:
        get in class UniNode
      • size

        public int size()
        Specified by:
        size in class UniNode
      • has

        public boolean has​(java.lang.String fieldName)
        Specified by:
        has in class UniNode
      • get

        @NotNull
        public @NotNull UniNode get​(java.lang.String fieldName)
        Specified by:
        get in class UniNode
      • asRaw

        public java.lang.Object asRaw​(@Nullable
                                      @Nullable java.lang.Object fallback)
        Overrides:
        asRaw in class UniNode
      • asString

        public java.lang.String asString​(@Nullable
                                         @Nullable java.lang.String fallback)
        Overrides:
        asString in class UniNode
      • asBoolean

        public boolean asBoolean​(boolean fallback)
        Overrides:
        asBoolean in class UniNode
      • asInt

        public int asInt​(int fallback)
        Overrides:
        asInt in class UniNode
      • asLong

        public long asLong​(long fallback)
        Overrides:
        asLong in class UniNode
      • asDouble

        public double asDouble​(double fallback)
        Overrides:
        asDouble in class UniNode
      • asFloat

        public float asFloat​(float fallback)
        Overrides:
        asFloat in class UniNode
      • asShort

        public short asShort​(short fallback)
        Overrides:
        asShort in class UniNode
      • asChar

        public char asChar​(char fallback)
        Overrides:
        asChar in class UniNode