Class Buckets<TBucket>

    • Method Detail

      • isArray

        public boolean isArray()
        Is this variant instance of kind array?
      • array

        public java.util.List<TBucket> array()
        Get the array variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the array kind.
      • isKeyed

        public boolean isKeyed()
        Is this variant instance of kind keyed?
      • keyed

        public java.util.Map<java.lang.String,​TBucket> keyed()
        Get the keyed variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the keyed kind.