Package org.refcodes.mixin
Interface IndexAccessor.IndexMutator
-
- All Known Subinterfaces:
IndexAccessor.IndexProperty
- Enclosing interface:
- IndexAccessor
public static interface IndexAccessor.IndexMutator
Provides a mutator for a index property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
decreaseIndex()
Decreases the index.void
increaseIndex()
Increases the index.default void
resetIndex()
Resets the index to 0;void
setIndex(long aIndex)
Sets the index for the index property.
-
-
-
Method Detail
-
setIndex
void setIndex(long aIndex)
Sets the index for the index property.- Parameters:
aIndex
- The index to be stored by the index property.
-
increaseIndex
void increaseIndex()
Increases the index.
-
decreaseIndex
void decreaseIndex()
Decreases the index.
-
resetIndex
default void resetIndex()
Resets the index to 0;
-
-