Interface UnitMappable.Set<U extends ConfigurableUnit>

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

public static interface UnitMappable.Set<U extends ConfigurableUnit> extends UnitMappable<U,Set<U>,UnitMappable.Set<U>>, Mappable.BaseSet<U,UnitMappable.Set<U>>
A sub-interface of UnitMappable specialized for set-backed collections.

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

  • Method Details

    • toList

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