- Type Parameters:
LOCATOR
- The type of the hops to be accessed.
- All Superinterfaces:
HopsAccessor<LOCATOR>
,HopsAccessor.HopsMutator<LOCATOR>
- Enclosing interface:
- HopsAccessor<LOCATOR>
public static interface HopsAccessor.HopsProperty<LOCATOR>
extends HopsAccessor<LOCATOR>, HopsAccessor.HopsMutator<LOCATOR>
Provides a hops property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.p2p.HopsAccessor
HopsAccessor.HopsBuilder<LOCATOR,
B extends HopsAccessor.HopsBuilder<LOCATOR, B>>, HopsAccessor.HopsMutator<LOCATOR>, HopsAccessor.HopsProperty<LOCATOR> -
Method Summary
Modifier and TypeMethodDescriptiondefault LOCATOR[]
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofHopsAccessor.HopsMutator.setHops(Object[])
} and returns the very same value (getter).Methods inherited from interface org.refcodes.p2p.HopsAccessor
getHops
Methods inherited from interface org.refcodes.p2p.HopsAccessor.HopsMutator
setHops
-
Method Details
-
letHops
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofHopsAccessor.HopsMutator.setHops(Object[])
} and returns the very same value (getter).- Parameters:
aHops
- The value to set (viaHopsAccessor.HopsMutator.setHops(Object[])
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-