-
- Type Parameters:
T
- The type of the array to be accessed.
- All Superinterfaces:
ArrayAccessor<T>
,ArrayAccessor.ArrayMutator<T>
- Enclosing interface:
- ArrayAccessor<T>
public static interface ArrayAccessor.ArrayProperty<T> extends ArrayAccessor<T>, ArrayAccessor.ArrayMutator<T>
Provides a array property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ArrayAccessor
ArrayAccessor.ArrayBuilder<T,B extends ArrayAccessor.ArrayBuilder<T,B>>, ArrayAccessor.ArrayMutator<T>, ArrayAccessor.ArrayProperty<T>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default T
letArray(T aArray)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofArrayAccessor.ArrayMutator.setArray(Object)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.mixin.ArrayAccessor
getArray
-
Methods inherited from interface org.refcodes.mixin.ArrayAccessor.ArrayMutator
setArray
-
-
-
-
Method Detail
-
letArray
default T letArray(T aArray)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofArrayAccessor.ArrayMutator.setArray(Object)
and returns the very same value (getter).- Parameters:
aArray
- The value to set (viaArrayAccessor.ArrayMutator.setArray(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-