-
- All Superinterfaces:
IndexAccessor
,IndexAccessor.IndexMutator
- Enclosing interface:
- IndexAccessor
public static interface IndexAccessor.IndexProperty extends IndexAccessor, IndexAccessor.IndexMutator
Provides a index property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.IndexAccessor
IndexAccessor.IndexBuilder<B extends IndexAccessor.IndexBuilder<B>>, IndexAccessor.IndexMutator, IndexAccessor.IndexProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default long
letIndex(long aIndex)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given long (setter) as ofIndexAccessor.IndexMutator.setIndex(long)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.mixin.IndexAccessor
getIndex
-
Methods inherited from interface org.refcodes.mixin.IndexAccessor.IndexMutator
decreaseIndex, increaseIndex, resetIndex, setIndex
-
-
-
-
Method Detail
-
letIndex
default long letIndex(long aIndex)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given long (setter) as ofIndexAccessor.IndexMutator.setIndex(long)
and returns the very same value (getter).- Parameters:
aIndex
- The long to set (viaIndexAccessor.IndexMutator.setIndex(long)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-