| Constructor and Description |
|---|
PJoinedArray(PArray[] arrays)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(int i)
Get the object at the given index.
|
PArray |
getArray(int i)
Get the element at the index as a json array.
|
boolean |
getBool(int i)
Get the element as a boolean.
|
java.lang.String |
getCurrentPath()
Gets the string representation of the path to the current element.
|
double |
getDouble(int i)
Get the element at the index as a double.
|
float |
getFloat(int i)
Get the element at the index as a float.
|
int |
getInt(int i)
Get the element at the index as an integer.
|
long |
getLong(int i)
Get the element at the index as a long.
|
PObject |
getObject(int i)
Get the element at the index as a object.
|
java.lang.String |
getPath(java.lang.String key)
Gets the string representation of the path to the current element.
|
java.lang.String |
getString(int i)
Get the element at the index as a string.
|
int |
size()
Return the size of the array.
|
public PJoinedArray(PArray[] arrays)
arrays - the arrays that constitute the joined array.public int size()
PArraypublic PObject getObject(int i)
PArraypublic PArray getArray(int i)
PArraypublic int getInt(int i)
PArraypublic long getLong(int i)
PArraypublic float getFloat(int i)
PArraypublic double getDouble(int i)
PArraypublic java.lang.String getString(int i)
PArraypublic boolean getBool(int i)
PArraypublic java.lang.String getPath(java.lang.String key)
PArraypublic java.lang.String getCurrentPath()
PArraygetCurrentPath in interface PArray