Class AcmeJson.Array

  • All Implemented Interfaces:
    java.lang.Iterable<AcmeJson.Value>
    Enclosing class:
    AcmeJson

    public static final class AcmeJson.Array
    extends java.lang.Object
    implements java.lang.Iterable<AcmeJson.Value>
    Represents a JSON array.
    • Method Detail

      • size

        public int size()
        Returns the array size.
        Returns:
        Size of the array
      • isEmpty

        public boolean isEmpty()
        Returns:
        true if the array is empty, false otherwise.
      • stream

        public java.util.stream.Stream<AcmeJson.Value> stream()
        Returns a stream of values.
        Returns:
        Stream of all AcmeJson.Value of this array