Class NonNullList<E>

All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, SequencedCollection<E>

public class NonNullList<E> extends AbstractList<E>
  • Field Details

    • list

      private final List<E> list
    • defaultValue

      @Nullable private final E defaultValue
  • Constructor Details

    • NonNullList

      protected NonNullList(List<E> p_122777_, @Nullable E p_122778_)
  • Method Details