PRIMITIVE - the factory productpublic interface PrimitiveReplicator<PRIMITIVE extends PrimitiveReplicator<PRIMITIVE>> extends RealReplicator<PRIMITIVE>, ScalarReplicator<PRIMITIVE>
replicator for primitives| Modifier and Type | Method and Description |
|---|---|
PRIMITIVE |
copyUsingPrimitive(SealedPrimitive<?> aValue)
Using this primitive as a factory, produce a new primitive of the same
type but initialized with the value specified
|
PRIMITIVE |
copyUsingText(CharSequence aValue)
Using this primitive as a factory, produce a new primitive of the same
type but initialized with the value specified
|
Primitive<?> |
toPrimitive()
If this object is already
primitive then simply call
its Replicator.copy() function, otherwise convert it to a new Primitive
instance |
copyUsing, copyUsing, copyUsingReal, toRealcopyUsing, copyUsing, copyUsing, copyUsing, copyUsing, copyUsing, copyUsing, copyUsing, copyUsingScalar, toScalarcopyPRIMITIVE copyUsingPrimitive(SealedPrimitive<?> aValue)
aValue - a new valuePRIMITIVE copyUsingText(CharSequence aValue)
aValue - a new valuePrimitive<?> toPrimitive()
primitive then simply call
its Replicator.copy() function, otherwise convert it to a new Primitive
instanceCopyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.