public class PackageMetaInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Constructor and Description |
---|
PackageMetaInfo(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
PackageMetaInfo |
getArrayElement(int idx)
Returns the element of array at specified position.
|
int |
getArraySize()
Returns the number of elements in the array.
|
boolean |
getBool()
Returns the boolean value of this element.
|
static long |
getCPtr(PackageMetaInfo obj) |
double |
getDouble()
Returns the floating point value of this element.
|
long |
getLong()
Returns the integer value of this element.
|
PackageMetaInfo |
getMapElement(java.lang.String key)
Returns the element of map with the specified key.
|
StringVector |
getMapKeys()
Returns all the keys in the map.
|
java.lang.String |
getString()
Returns the string value of this element.
|
PackageMetaInfoType |
getType()
Returns the type of this meta info element.
|
int |
hashCode()
Returns the hash value of this object.
|
public static long getCPtr(PackageMetaInfo obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PackageMetaInfoType getType()
public java.lang.String getString()
public boolean getBool()
public long getLong()
public double getDouble()
public int getArraySize()
public PackageMetaInfo getArrayElement(int idx)
idx
- The index of the array element to return (starting from 0).public StringVector getMapKeys()
public PackageMetaInfo getMapElement(java.lang.String key)
key
- The key of the map element to return.