public class JsonConfigurationArray extends java.lang.Object implements ConfigurationArray
| Constructor and Description |
|---|
JsonConfigurationArray(javax.json.JsonArray array) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(int i)
Gets the boolean stored at index i.
|
Configuration |
getConfiguration(int i)
Gets the Configuration stored at index i.
|
ConfigurationArray |
getInner(int i)
Gets the ConfigurationArray stored at index i.
|
java.lang.Number |
getNumber(int i)
Gets the number stored at index i.
|
java.lang.String |
getString(int i)
Gets the String stored at index i.
|
int |
size()
The size of the array.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitget, getRawData, getRawDataOfType, hasBoolean, hasConfiguration, hasInner, hasNumber, hasString, iterator, tryGetBoolean, tryGetConfiguration, tryGetInner, tryGetNumber, tryGetStringpublic int size()
ConfigurationArrayConfigurationArray.get(int) is certain to return an object for any
index in [0, size).size in interface ConfigurationArraypublic java.lang.Number getNumber(int i)
throws NoSuchPropertyException
ConfigurationArraygetNumber in interface ConfigurationArrayi - The index.NoSuchPropertyException - If there is no number stored at the given index.public boolean getBoolean(int i)
throws NoSuchPropertyException
ConfigurationArraygetBoolean in interface ConfigurationArrayi - The index.NoSuchPropertyException - If there is no boolean stored at the given index.public java.lang.String getString(int i)
throws NoSuchPropertyException
ConfigurationArraygetString in interface ConfigurationArrayi - The index.NoSuchPropertyException - If there is no String stored at the given index.public Configuration getConfiguration(int i) throws NoSuchPropertyException
ConfigurationArraygetConfiguration in interface ConfigurationArrayi - The index.NoSuchPropertyException - If there is no Configuration stored at the given index.public ConfigurationArray getInner(int i) throws NoSuchPropertyException
ConfigurationArraygetInner in interface ConfigurationArrayi - The index.NoSuchPropertyException - If there is no ConfigurationArray stored at the given index.public java.lang.String toString()
toString in class java.lang.Object