Package studio.mevera.lotus.api.slot
Interface SlotMask
- All Known Implementing Classes:
SlotMask.Custom,SlotMask.Excluding,SlotMask.Full,SlotMask.Range
public sealed interface SlotMask
permits SlotMask.Full, SlotMask.Range, SlotMask.Custom, SlotMask.Excluding
Declarative description of which slots are usable within a
Capacity.
Replaces the legacy FillRange: instead of "start + end + forbidden", a mask is a sealed
algebra of composable shapes whose count is always derived, never mutated.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final recordstatic final record -
Method Summary
-
Method Details
-
capacity
-
contains
-
size
int size() -
stream
-
excluding
-
excluding
-
full
-
range
-
of
-