Interface PrimitiveWrapper<W>
- Type Parameters:
W- type of wrapped value
- All Known Subinterfaces:
BooleanWrapper,IntWrapper,LongWrapper
- All Known Implementing Classes:
BooleanWrapper.AtomicBooleanWrapper,BooleanWrapper.BooleanBooleanWrapper,IntWrapper.AtomicIntWrapper,IntWrapper.PrimitiveIntWrapper,LongWrapper.AtomicLongWrapper,LongWrapper.PrimitiveLongWrapper
public interface PrimitiveWrapper<W>
Mutable wrapper of a primitive type, this is mostly useful for passing these to lambdas.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the primitive class wrapped by this one.Returns thejava.langprimitive wrapper class corresponding to the one wrapped.