Module org.refcodes.serial
Package org.refcodes.serial
Interface PortMetricsAccessor.PortMetricsProperty<PM extends PortMetrics>
- Type Parameters:
PM
- The actualPortMetrics
type to use.
- All Superinterfaces:
PortMetricsAccessor<PM>
,PortMetricsAccessor.PortMetricsMutator<PM>
- Enclosing interface:
- PortMetricsAccessor<PM extends PortMetrics>
public static interface PortMetricsAccessor.PortMetricsProperty<PM extends PortMetrics>
extends PortMetricsAccessor<PM>, PortMetricsAccessor.PortMetricsMutator<PM>
Provides a
PortMetrics
property.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.serial.PortMetricsAccessor
PortMetricsAccessor.PortMetricsBuilder<PM extends PortMetrics,
B extends PortMetricsAccessor.PortMetricsBuilder<PM, B>>, PortMetricsAccessor.PortMetricsMutator<PM extends PortMetrics>, PortMetricsAccessor.PortMetricsProperty<PM extends PortMetrics> -
Method Summary
Modifier and TypeMethodDescriptiondefault PM
letPortMetrics
(PM aPortMetrics) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofPortMetricsAccessor.PortMetricsMutator.setPortMetrics(PortMetrics)
and returns the very same value (getter).Methods inherited from interface org.refcodes.serial.PortMetricsAccessor
getPortMetrics
Methods inherited from interface org.refcodes.serial.PortMetricsAccessor.PortMetricsMutator
setPortMetrics
-
Method Details
-
letPortMetrics
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofPortMetricsAccessor.PortMetricsMutator.setPortMetrics(PortMetrics)
and returns the very same value (getter).- Parameters:
aPortMetrics
- The value to set (viaPortMetricsAccessor.PortMetricsMutator.setPortMetrics(PortMetrics)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-