- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList
-
- org.antlr.stringtemplate.language.Cat
-
- All Implemented Interfaces:
- java.lang.Iterable, java.util.Collection, java.util.List
public class Cat
extends java.util.AbstractList
Given a list of attributes, return the combined elements in a list.
-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
protected java.util.List |
elements |
-
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors
Constructor and Description |
Cat(java.util.List attributes) |
-
Method Summary
Methods
Modifier and Type |
Method and Description |
java.lang.Object |
get(int index) |
java.util.Iterator |
iterator() |
int |
size() |
java.lang.String |
toString() |
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interface java.util.Collection
- Specified by:
size
in interface java.util.List
- Specified by:
size
in class java.util.AbstractCollection
Copyright ? 2006-2013 Terence Parr