Module org.refcodes.mixin
Package org.refcodes.mixin
Interface TimeMillisAccessor.TimeMillisProperty
- All Superinterfaces:
TimeMillisAccessor
,TimeMillisAccessor.TimeMillisMutator
- Enclosing interface:
- TimeMillisAccessor
public static interface TimeMillisAccessor.TimeMillisProperty
extends TimeMillisAccessor, TimeMillisAccessor.TimeMillisMutator
Provides a milliseconds property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.TimeMillisAccessor
TimeMillisAccessor.TimeMillisBuilder<B extends TimeMillisAccessor.TimeMillisBuilder<B>>, TimeMillisAccessor.TimeMillisMutator, TimeMillisAccessor.TimeMillisProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letTimeMillis
(int aMillis) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofTimeMillisAccessor.TimeMillisMutator.setTimeMillis(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.TimeMillisAccessor
getTimeMillis
Methods inherited from interface org.refcodes.mixin.TimeMillisAccessor.TimeMillisMutator
setTimeMillis
-
Method Details
-
letTimeMillis
default int letTimeMillis(int aMillis) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofTimeMillisAccessor.TimeMillisMutator.setTimeMillis(int)
and returns the very same value (getter).- Parameters:
aMillis
- The integer to set (viaTimeMillisAccessor.TimeMillisMutator.setTimeMillis(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-