-
- All Superinterfaces:
PortAccessor
,PortAccessor.PortMutator
- Enclosing interface:
- PortAccessor
public static interface PortAccessor.PortProperty extends PortAccessor, PortAccessor.PortMutator
Provides a port property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.PortAccessor
PortAccessor.PortBuilder<B extends PortAccessor.PortBuilder<B>>, PortAccessor.PortMutator, PortAccessor.PortProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default int
letPort(int aPort)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofPortAccessor.PortMutator.setPort(int)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.mixin.PortAccessor
getPort
-
Methods inherited from interface org.refcodes.mixin.PortAccessor.PortMutator
setPort
-
-
-
-
Method Detail
-
letPort
default int letPort(int aPort)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofPortAccessor.PortMutator.setPort(int)
and returns the very same value (getter).- Parameters:
aPort
- The integer to set (viaPortAccessor.PortMutator.setPort(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-