Class TypeList.Explicit

All Implemented Interfaces:
Iterable<TypeDescription>, Collection<TypeDescription>, List<TypeDescription>, SequencedCollection<TypeDescription>, TypeList, FilterableList<TypeDescription,TypeList>
Enclosing interface:
TypeList

public static class TypeList.Explicit extends TypeList.AbstractBase
A wrapper implementation of an explicit list of types.
  • Field Details

    • typeDescriptions

      private final List<? extends TypeDescription> typeDescriptions
      The list of type descriptions this list represents.
  • Constructor Details

    • Explicit

      public Explicit(TypeDescription... typeDescription)
      Creates an immutable wrapper.
      Parameters:
      typeDescription - The list of types to be represented by this wrapper.
    • Explicit

      public Explicit(List<? extends TypeDescription> typeDescriptions)
      Creates an immutable wrapper.
      Parameters:
      typeDescriptions - The list of types to be represented by this wrapper.
  • Method Details