Package org.apache.juneau.svl
Class VarList
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterable<Object>,- Collection<Object>,- List<Object>,- RandomAccess
Simple list of variables that can consist of either variable classes or instances.
 
See Also:
- 
Field SummaryFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionAdds the default variables to this list.final VarListAdds a list of variables to this list.Adds a list of variables to this list.Adds a list of variables to this list.copy()Makes a copy of this list.static VarListcreate()Returns an empty list of variables.static final VarListCreates a new list of variables.static VarListCreates a new list of variables.Methods inherited from class java.util.ArrayListadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, 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.AbstractCollectioncontainsAll, toStringMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, stream, toArrayMethods inherited from interface java.util.ListcontainsAll
- 
Constructor Details- 
VarListprotected VarList()Constructor.
- 
VarListCopy constructor.- Parameters:
- copyFrom- The list to copy.
 
 
- 
- 
Method Details- 
createReturns an empty list of variables.- Returns:
- A new empty list of variables.
 
- 
ofCreates a new list of variables.- Parameters:
- vars- The variables to create.
- Returns:
- A new list of variables.
 
- 
ofCreates a new list of variables.- Parameters:
- vars- The variables to create.
- Returns:
- A new list of variables.
 
- 
appendAdds a list of variables to this list.- Parameters:
- vars- The variables to append to this list.
- Returns:
- This object.
 
- 
appendAdds a list of variables to this list.- Parameters:
- vars- The variables to append to this list.
- Returns:
- This object.
 
- 
appendAdds a list of variables to this list.- Parameters:
- vars- The variables to append to this list.
- Returns:
- This object.
 
- 
addDefaultAdds the default variables to this list.The default variables are: - Returns:
- This object.
 
- 
copyMakes a copy of this list.- Returns:
- A new copy of this list.
 
 
-