Interface IndexAccessor.IndexBuilder<B extends IndexAccessor.IndexBuilder<B>>

  • Type Parameters:
    B - The builder to return in order to be able to apply multiple build operations.
    Enclosing interface:
    IndexAccessor


    public static interface IndexAccessor.IndexBuilder<B extends IndexAccessor.IndexBuilder<B>>
    Provides a builder method for a index property returning the builder for applying multiple build operations.
    • Method Detail

      • withIndex

        B withIndex​(long aIndex)
        Sets the index for the index property.
        Parameters:
        aIndex - The index to be stored by the index property.
        Returns:
        The builder for applying multiple build operations.
      • withIncreaseIndex

        B withIncreaseIndex​()
        Increases the index.
      • withDecreaseIndex

        B withDecreaseIndex​()
        Decreases the index.