Class FieldList.Explicit<S extends FieldDescription>

    • Field Detail

      • fieldDescriptions

        private final java.util.List<? extends S extends FieldDescription> fieldDescriptions
        The list of field descriptions this list represents.
    • Constructor Detail

      • Explicit

        public Explicit​(S... fieldDescription)
        Creates a new immutable wrapper field list.
        Parameters:
        fieldDescription - The list of fields to be represented by this field list.
      • Explicit

        public Explicit​(java.util.List<? extends S> fieldDescriptions)
        Creates a new immutable wrapper field list.
        Parameters:
        fieldDescriptions - The list of fields to be represented by this field list.
    • Method Detail

      • get

        public S get​(int index)
        Specified by:
        get in interface java.util.List<S extends FieldDescription>
        Specified by:
        get in class java.util.AbstractList<S extends FieldDescription>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<S extends FieldDescription>
        Specified by:
        size in interface java.util.List<S extends FieldDescription>
        Specified by:
        size in class java.util.AbstractCollection<S extends FieldDescription>