|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.parameters.user.internal.UserParameters
public class UserParameters
An implementation of the IUserParameter interface.
| Constructor Summary | |
|---|---|
UserParameters()
Constructor. |
|
| Method Summary | ||
|---|---|---|
IUserParameter<Boolean> |
addBooleanParameter(String key,
Boolean value)
Adds a new boolean parameter to the collection. |
|
IUserParameter<Double> |
addDoubleParameter(String key,
Double value)
Adds a new double parameter to the collection. |
|
IUserParameter<Integer> |
addIntParameter(String key,
Integer value)
Adds a new integer parameter to the collection. |
|
IUserParameter<Long> |
addLongParameter(String key,
Long value)
Adds a new long parameter to the collection. |
|
IUserParameter<String> |
addStringParameter(String key,
String value)
Adds a new string parameter to the collection. |
|
Collection<IUserParameter<?>> |
getAllParameters()
Returns all parameters from the collection as a read-only snapshot copy. |
|
IUserParameter<Boolean> |
getBooleanParameter(String key)
Returns a boolean parameter from the collection. |
|
IUserParameter<Double> |
getDoubleParameter(String key)
Returns a double parameter from the collection. |
|
IUserParameter<Integer> |
getIntParameter(String key)
Returns an integer parameter from the collection. |
|
IUserParameter<Long> |
getLongParameter(String key)
Returns a long parameter from the collection. |
|
|
getParameter(String key,
Class<T> type)
Returns a parameter - an IUserParameter interface implementation instance - identified by the given key. |
|
IUserParameter<String> |
getStringParameter(String key)
Returns a string parameter from the collection. |
|
IUserParameter<?> |
removeParameter(String key)
Removes a parameter from the collection. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserParameters()
| Method Detail |
|---|
public IUserParameter<Integer> addIntParameter(String key,
Integer value)
addIntParameter in interface IUserParameterskey - The key of the parameter. Must be unique in the context of this collection.value - The value of the parameter.
IUserParameter implementation instance.
public IUserParameter<Long> addLongParameter(String key,
Long value)
addLongParameter in interface IUserParameterskey - The key of the parameter. Must be unique in the context of this collection.value - The value of the parameter.
IUserParameter implementation instance.
public IUserParameter<Double> addDoubleParameter(String key,
Double value)
addDoubleParameter in interface IUserParameterskey - The key of the parameter. Must be unique in the context of this collection.value - The value of the parameter.
IUserParameter implementation instance.
public IUserParameter<String> addStringParameter(String key,
String value)
addStringParameter in interface IUserParameterskey - The key of the parameter. Must be unique in the context of this collection.value - The value of the parameter.
IUserParameter implementation instance.
public IUserParameter<Boolean> addBooleanParameter(String key,
Boolean value)
addBooleanParameter in interface IUserParameterskey - The key of the parameter. Must be unique in the context of this collection.value - The value of the parameter.
IUserParameter implementation instance.public IUserParameter<Integer> getIntParameter(String key)
getIntParameter in interface IUserParameterskey - The key of the parameter.
IUserParameter interface.public IUserParameter<Long> getLongParameter(String key)
getLongParameter in interface IUserParameterskey - The key of the parameter.
IUserParameter interface.public IUserParameter<Double> getDoubleParameter(String key)
getDoubleParameter in interface IUserParameterskey - The key of the parameter.
IUserParameter interface.public IUserParameter<String> getStringParameter(String key)
getStringParameter in interface IUserParameterskey - The key of the parameter.
IUserParameter interface.public IUserParameter<Boolean> getBooleanParameter(String key)
getBooleanParameter in interface IUserParameterskey - The key of the parameter.
IUserParameter interface.public Collection<IUserParameter<?>> getAllParameters()
getAllParameters in interface IUserParametersIUserParameter interface
implementations.
public <T> IUserParameter<T> getParameter(String key,
Class<T> type)
IUserParameter interface implementation instance - identified by the given key.
No exception will be thrown if the parameter specified by the key does not exists in the collection.
getParameter in interface IUserParametersT - The generic type of the parameter.key - The key of the parameter. Must be not null and not empty.type - The type of the parameter. Might be null.
public IUserParameter<?> removeParameter(String key)
removeParameter in interface IUserParameterskey - The key of the parameter. Must be not null and not empty.
IUserParameter interface).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||