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

    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 Details

    • 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;