public static class MBodyGroupStats.MutableArray extends MBodyGroupStats.Array implements MutableStructure
version| Modifier and Type | Method and Description |
|---|---|
MBodyGroupStats.MutableArray |
addGroupStats(MBodyGroupStats stats)
Adds a group stats 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, toDebugStringgetList, getTotalLength, getVersionhex, hex, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersion, toDebugStringvalidatepublic 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 MutableStructurepublic boolean writable()
MutableObject#toImmutable() method (defined on a sub-interface)
has not yet been invoked.writable in interface MutableObjectpublic String toString()
toString in class MBodyGroupStats.Arraypublic MBodyGroupStats.MutableArray addGroupStats(MBodyGroupStats stats) throws IncompleteStructureException
stats - the stats object to addInvalidMutableException - if this array is no longer writableNullPointerException - if stats is nullIllegalArgumentException - if port is mutableIncompleteStructureException - if the group stats is incompleteCopyright © 2014. All Rights Reserved.