public interface PVArray extends PVField, SerializableArray
Modifier and Type | Method and Description |
---|---|
int |
getCapacity()
Get the current capacity of the array,
i.e.
|
int |
getLength()
Get the current length of the array.
|
boolean |
isCapacityMutable()
Can the capacity be changed?
|
void |
setCapacity(int length)
Set the capacity.
|
void |
setCapacityMutable(boolean isMutable)
Set capacityMutable.
|
void |
setLength(int length)
Set the length of the array.
|
getField, getFieldName, getFieldOffset, getNextFieldOffset, getNumberFields, getParent, getPVAuxInfo, isImmutable, postPut, renameField, setImmutable, setPostHandler, setRequester, toString, toString, toString
getRequesterName, message
serialize
deserialize, serialize
int getLength()
void setLength(int length)
length
- Set the length.IllegalStateException
- if the field is not mutable.int getCapacity()
void setCapacity(int length)
length
- The new capacity for the array.IllegalStateException
- if the capacity can't be changed.boolean isCapacityMutable()
void setCapacityMutable(boolean isMutable)
isMutable
- New value for capacityMutable.Copyright © 2014. All Rights Reserved.