- All Superinterfaces:
EncodedAccessor
,EncodedAccessor.EncodedMutator
- Enclosing interface:
- EncodedAccessor
public static interface EncodedAccessor.EncodedProperty
extends EncodedAccessor, EncodedAccessor.EncodedMutator
Provides an encoded property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.EncodedAccessor
EncodedAccessor.EncodedBuilder<B extends EncodedAccessor.EncodedBuilder<B>>, EncodedAccessor.EncodedMutator, EncodedAccessor.EncodedProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault byte[]
letEncoded
(byte[] aEncoded) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given bytes (setter) as ofEncodedAccessor.EncodedMutator.setEncoded(byte[])
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.EncodedAccessor
getEncoded
Methods inherited from interface org.refcodes.mixin.EncodedAccessor.EncodedMutator
setEncoded
-
Method Details
-
letEncoded
default byte[] letEncoded(byte[] aEncoded) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given bytes (setter) as ofEncodedAccessor.EncodedMutator.setEncoded(byte[])
and returns the very same value (getter).- Parameters:
aEncoded
- The bytes to set (viaEncodedAccessor.EncodedMutator.setEncoded(byte[])
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-