Interface UnitMappable.List<U extends ConfigurableUnit>

Type Parameters:
U - the type of configurable unit stored in the list.
All Superinterfaces:
BaseBuilder<UnitMappable.List<U>>, Copyable<UnitMappable.List<U>>, Iterable<Map.Entry<Integer,List<U>>>, Map<Integer,List<U>>, Mappable<U,List<U>,UnitMappable.List<U>>, Mappable.BaseList<U,UnitMappable.List<U>>, UnitMappable<U,List<U>,UnitMappable.List<U>>
Enclosing interface:
UnitMappable<U extends ConfigurableUnit,C extends Collection<U>,UM extends UnitMappable<U,C,UM>>

public static interface UnitMappable.List<U extends ConfigurableUnit> extends UnitMappable<U,List<U>,UnitMappable.List<U>>, Mappable.BaseList<U,UnitMappable.List<U>>
A sub-interface of UnitMappable specialized for list-backed collections.

This interface extends both UnitMappable and BaseList, providing default methods for retrieving the stored values as a List. It is designed to be directly instantiated via the static factory methods.

  • Method Details

    • toSet

      @NotNull @NotNull UnitMappable.Set<U> toSet()
      Converts this list-based mappable into a set of configurable units.
      Returns:
      a UnitMappable.Set containing all the stored configurable units.