Module org.refcodes.checkerboard
Package org.refcodes.checkerboard
Interface CheckerboardAccessor.CheckerboardBuilder<P extends Player<P,S>,S,B extends CheckerboardAccessor.CheckerboardBuilder<P,S,B>>
- Type Parameters:
P
- the generic typeS
- the generic typeB
- The builder to return in order to be able to apply multiple build operations.
public static interface CheckerboardAccessor.CheckerboardBuilder<P extends Player<P,S>,S,B extends CheckerboardAccessor.CheckerboardBuilder<P,S,B>>
Provides a builder method for a player property returning the builder for
applying multiple build operations.
-
Method Summary
Modifier and TypeMethodDescriptionwithCheckerboard
(Checkerboard<P, S> aCheckerboard) Sets the player for the player property.
-
Method Details
-
withCheckerboard
Sets the player for the player property.- Parameters:
aCheckerboard
- The player to be stored by the player property.- Returns:
- The builder for applying multiple build operations.
-