Class Fields

    • Field Detail

      • EMPTY_ARRAY

        public static final Fields[] EMPTY_ARRAY
        Zero-length Fields array.
    • Constructor Detail

      • Fields

        protected Fields()
        Sole constructor. (For invocation by subclass constructors, typically implicit.)
    • Method Detail

      • iterator

        public abstract Iterator<String> iterator()
        Returns an iterator that will step through all fields names. This will not return null.
        Specified by:
        iterator in interface Iterable<String>
      • size

        public abstract int size()
        Returns the number of fields or -1 if the number of distinct field names is unknown. If >= 0, iterator() will return as many field names.