public static class MBodyGroupDescStats.MutableArray extends MBodyGroupDescStats.Array implements MutableStructure
parseErrorCause, version
Modifier and Type | Method and Description |
---|---|
MBodyGroupDescStats.MutableArray |
addGroupDesc(MBodyGroupDescStats groupDesc)
Adds a group description object to this mutable array.
|
OpenflowStructure |
toImmutable()
Returns an immutable instance of this structure.
|
String |
toString() |
boolean |
writable()
Returns true if this mutable object is still writable.
|
getElementClass, toDebugString
getList, getTotalLength, getVersion
hex, hex, incomplete, parseErrorCause, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersion, toDebugString
validate
public String toString()
toString
in class MBodyGroupDescStats.Array
public boolean writable()
MutableObject
#toImmutable()
method (defined on a sub-interface)
has not yet been invoked.writable
in interface MutableObject
public OpenflowStructure toImmutable()
MutableStructure
It is expected that the reference to this mutable structure will be
dropped. Note that all method calls invoked on a
MutableStructure
after toImmutable()
has been invoked
will result in an InvalidMutableException
being thrown.
toImmutable
in interface MutableStructure
public MBodyGroupDescStats.MutableArray addGroupDesc(MBodyGroupDescStats groupDesc) throws IncompleteStructureException
groupDesc
- the group description to addInvalidMutableException
- if this array is no longer writableNullPointerException
- if groupDesc is nullIllegalArgumentException
- if groupDesc is mutableIncompleteStructureException
- if the group description is
incompleteCopyright © 2016. All Rights Reserved.