Module org.refcodes.checkerboard
Package org.refcodes.checkerboard
Interface CheckerboardAccessor.CheckerboardProperty<P extends Player<P,S>,S>
- Type Parameters:
P
- the generic typeS
- the generic type
- All Superinterfaces:
CheckerboardAccessor<P,
,S> CheckerboardAccessor.CheckerboardMutator<P,
S>
public static interface CheckerboardAccessor.CheckerboardProperty<P extends Player<P,S>,S>
extends CheckerboardAccessor<P,S>, CheckerboardAccessor.CheckerboardMutator<P,S>
Provides a player property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.checkerboard.CheckerboardAccessor
CheckerboardAccessor.CheckerboardBuilder<P extends Player<P,
S>, S, B extends CheckerboardAccessor.CheckerboardBuilder<P, S, B>>, CheckerboardAccessor.CheckerboardMutator<P extends Player<P, S>, S>, CheckerboardAccessor.CheckerboardProperty<P extends Player<P, S>, S> -
Method Summary
Modifier and TypeMethodDescriptiondefault Checkerboard<P,
S> letCheckerboard
(Checkerboard<P, S> aCheckerboard) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCheckerboard
(setter) as ofCheckerboardAccessor.CheckerboardMutator.setCheckerboard(Checkerboard)
and returns the very same value (getter).Methods inherited from interface org.refcodes.checkerboard.CheckerboardAccessor
getCheckerboard
Methods inherited from interface org.refcodes.checkerboard.CheckerboardAccessor.CheckerboardMutator
setCheckerboard
-
Method Details
-
letCheckerboard
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCheckerboard
(setter) as ofCheckerboardAccessor.CheckerboardMutator.setCheckerboard(Checkerboard)
and returns the very same value (getter).- Parameters:
aCheckerboard
- TheCheckerboard
to set (viaCheckerboardAccessor.CheckerboardMutator.setCheckerboard(Checkerboard)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-