STRUCTURE
- this structure type (facilitates chaining)public interface MutableAlgebraicStructure<STRUCTURE> extends Mutable
structure
Modifier and Type | Method and Description |
---|---|
STRUCTURE |
assertDomain(Domain aDomain)
Attempt to convert the implementation
domain of this
structure to the closest available match for the proposed domain. |
void |
clear()
Same as
Collection.clear() . |
STRUCTURE |
clearContents()
Clear all elements of this structure and answer this object (facilitates
chaining}.
For text primitives all characters will be removed in an exact analog to clear() . |
STRUCTURE assertDomain(Domain aDomain)
domain
of this
structure to the closest available match for the proposed domain. Note
that the domain of this implementation may not change as a result
of calling this function if an available internal conversion is not
available.aDomain
- the proposed domainthis
object (facilitates operation chaining)StructureProperties.isConfigurable()
void clear() throws UnsupportedOperationException
Collection.clear()
. So as to maintain compatibility, this
function will not return the customary reference back to this structure.UnsupportedOperationException
- if the elements of this structure
cannot be clearedclearContents()
,
Collection.clear()
,
MutableTextValue.clearText();
STRUCTURE clearContents() throws UnsupportedOperationException
clear()
. For bit tuples such as scalar
primitives, this will reset all bits zero
since those elements cannot be removed. For
unlimited
primitives all bytes in the
representation will be removed, producing zero.clear()
, which does not return a value.
This function, in answering this object, facilitates operation chaining.UnsupportedOperationException
- if this object's value cannot be changedclear()
,
Collection.clear()
,
MutableTextValue.clearText();
Copyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.