Module org.refcodes.p2p
Package org.refcodes.p2p
Interface HopCountAccessor.HopCountBuilder<B extends HopCountAccessor.HopCountBuilder<B>>
-
- Type Parameters:
B
- The builder to return in order to be able to apply multiple build operations.
- Enclosing interface:
- HopCountAccessor
public static interface HopCountAccessor.HopCountBuilder<B extends HopCountAccessor.HopCountBuilder<B>>
Provides a builder method for a hop count property returning the builder for applying multiple build operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description B
withHopCount(int aHopCount)
Sets the hop count for the hop count property.
-
-
-
Method Detail
-
withHopCount
B withHopCount(int aHopCount)
Sets the hop count for the hop count property.- Parameters:
aHopCount
- The hop count to be stored by the hop count property.- Returns:
- The builder for applying multiple build operations.
-
-