Module org.refcodes.mixin
Package org.refcodes.mixin
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 Summary
Modifier and TypeMethodDescriptionDecreases the index.Increases the index.withIndex
(long aIndex) Sets the index for the index property.
-
Method Details
-
withIndex
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.- Returns:
- The builder for applying multiple build operations.
-
withDecreaseIndex
B withDecreaseIndex()Decreases the index.- Returns:
- The builder for applying multiple build operations.
-