public interface PairingParameters extends Serializable
PairingParametersGenerator
,
PairingParametersGenerator.generate()
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(String key)
Returns true if a mapping for the specified
key exists.
|
BigInteger |
getBigInteger(String key)
Returns the value as a BigInteger to which the specified key is mapped.
|
BigInteger |
getBigInteger(String key,
BigInteger defaultValue)
Returns the BigInteger to which the specified key is mapped.
|
BigInteger |
getBigIntegerAt(String key,
int index)
Returns the BigInteger at the specified index in the array to which
the specified key is mapped.
|
byte[] |
getBytes(String key)
Returns the value as an array of bytes to which the specified key is mapped.
|
byte[] |
getBytes(String key,
byte[] defaultValue)
Returns the value as an array of bytes to which the specified key is mapped.
|
int |
getInt(String key)
Returns the value as an int to which the specified key is mapped.
|
int |
getInt(String key,
int defaultValue)
Returns the value as an int to which the specified key is mapped.
|
long |
getLong(String key)
Returns the value as a long to which the specified key is mapped.
|
long |
getLong(String key,
long defaultValue)
Returns the value as a long to which the specified key is mapped.
|
Object |
getObject(String key)
Returns the object to which the specified key is mapped.
|
String |
getString(String key)
Returns the value as a string to which the specified key is mapped.
|
String |
getString(String key,
String defaultValue)
Returns the value as a string to which the specified key is mapped.
|
String |
toString(String separator)
Returns a string representation of the parameters
using the specified key/value separator.
|
boolean containsKey(String key)
key
- key whose presence is to be testedString getString(String key)
key
- the key whose associated value is to be returnedIllegalArgumentException
- if the specified key does not exists.String getString(String key, String defaultValue)
key
- the key whose associated value is to be returnedint getInt(String key)
key
- the key whose associated value is to be returnedIllegalArgumentException
- if the specified key does not exists.int getInt(String key, int defaultValue)
key
- the key whose associated value is to be returnedBigInteger getBigInteger(String key)
key
- the key whose associated value is to be returnedIllegalArgumentException
- if the specified key does not exists.BigInteger getBigInteger(String key, BigInteger defaultValue)
key
- the key whose associated value is to be returnedBigInteger getBigIntegerAt(String key, int index)
key
- the key whose associated array is to be usedindex
- the index relative to the array.long getLong(String key)
key
- the key whose associated value is to be returnedIllegalArgumentException
- if the specified key does not exists.long getLong(String key, long defaultValue)
key
- the key whose associated value is to be returnedbyte[] getBytes(String key)
key
- the key whose associated value is to be returnedIllegalArgumentException
- if the specified key does not exists.byte[] getBytes(String key, byte[] defaultValue)
key
- the key whose associated value is to be returnedIllegalArgumentException
- if the specified key does not exists.String toString(String separator)
separator
- key/value separator separator to be used .Copyright © 2013. All rights reserved.