public class Collection extends BaseContainer
Constructor and Description |
---|
Collection()
Default constructor
|
Collection(Collection input)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
add(Barrier container)
Adds a Barrier container to the collection
|
void |
add(Counter container)
Adds a Counter container to the collection
|
void |
add(Double container)
Adds a Double container to the collection
|
void |
add(DoubleVector container)
Adds a DoubleVector container to the collection
|
void |
add(FlexMap container)
Adds a FlexMap container to the collection
|
void |
add(Integer container)
Adds a Integer container to the collection
|
void |
add(IntegerVector container)
Adds a IntegerVector container to the collection
|
void |
add(Map container)
Adds a Map container to the collection
|
void |
add(NativeDoubleVector container)
Adds a NativeDoubleVector container to the collection
|
void |
add(NativeIntegerVector container)
Adds a NativeIntegerVector container to the collection
|
void |
add(String container)
Adds a String container to the collection
|
void |
add(StringVector container)
Adds a StringVector container to the collection
|
void |
add(Vector container)
Adds a Vector container to the collection
|
protected void |
finalize()
Cleans up underlying C resources
|
void |
free()
Deletes the C instantiation.
|
static Collection |
fromPointer(long cptr)
Creates a java object instance from a C/C++ pointer
|
static Collection |
fromPointer(long cptr,
boolean shouldManage)
Creates a java object instance from a C/C++ pointer
|
java.lang.String |
getDebugInfo()
Reads all debug info for the collection into a string
|
boolean |
isFalse()
Returns true if the container evaluates to false
|
boolean |
isTrue()
Returns true if the container evaluates to true
|
void |
modify()
Mark the value as modified.
|
void |
setSettings(UpdateSettings settings)
Sets the settings for updating variables in the Knowledge Base
|
java.lang.String |
toString()
Reads all debug info for the collection into a string
|
modifyIfFalse, modifyIfTrue
public Collection()
public Collection(Collection input)
input
- instance to copypublic static Collection fromPointer(long cptr)
cptr
- C pointer to the objectpublic static Collection fromPointer(long cptr, boolean shouldManage)
cptr
- C pointer to the objectshouldManage
- if true, manage the pointerpublic void setSettings(UpdateSettings settings)
settings
- the settings to use for updating the Knowledge Basepublic void modify()
public boolean isTrue()
public boolean isFalse()
public java.lang.String toString()
public void add(Barrier container)
container
- the container to add to the collectionpublic void add(Counter container)
container
- the container to add to the collectionpublic void add(Double container)
container
- the container to add to the collectionpublic void add(DoubleVector container)
container
- the container to add to the collectionpublic void add(FlexMap container)
container
- the container to add to the collectionpublic void add(Integer container)
container
- the container to add to the collectionpublic void add(IntegerVector container)
container
- the container to add to the collectionpublic void add(Map container)
container
- the container to add to the collectionpublic void add(NativeDoubleVector container)
container
- the container to add to the collectionpublic void add(NativeIntegerVector container)
container
- the container to add to the collectionpublic void add(String container)
container
- the container to add to the collectionpublic void add(StringVector container)
container
- the container to add to the collectionpublic void add(Vector container)
container
- the container to add to the collectionpublic java.lang.String getDebugInfo()
public void free()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
- necessary for override but unused