Class ExprLookup.Variables
java.lang.Object
java.util.AbstractCollection<ExprLookup.Variable>
java.util.AbstractList<ExprLookup.Variable>
java.util.ArrayList<ExprLookup.Variable>
org.apache.commons.configuration2.interpol.ExprLookup.Variables
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<ExprLookup.Variable>,Collection<ExprLookup.Variable>,List<ExprLookup.Variable>,RandomAccess
- Enclosing class:
ExprLookup
List wrapper used to allow the Variables list to be created as beans in DefaultConfigurationBuilder.
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new empty instance ofVariables.Creates a new instance ofVariablesand copies the content of the given object. -
Method Summary
Modifier and TypeMethodDescriptionGets the variable or null if empty.Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractList
equals, hashCodeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, streamMethods inherited from interface java.util.List
containsAll, equals, hashCode
-
Constructor Details
-
Variables
public Variables()Creates a new empty instance ofVariables. -
Variables
Creates a new instance ofVariablesand copies the content of the given object.- Parameters:
vars- theVariablesobject to be copied
-
-
Method Details
-
getVariable
Gets the variable or null if empty.- Returns:
- the variable or null if empty.
-