org.antlr.stringtemplate.language
Class Cat
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 |
protected java.util.List |
elements
|
| Fields inherited from class java.util.AbstractList |
modCount |
|
Constructor Summary |
Cat(java.util.List attributes)
|
|
Method Summary |
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 |
elements
protected java.util.List elements
Cat
public Cat(java.util.List attributes)
iterator
public java.util.Iterator iterator()
- Specified by:
iterator in interface java.lang.Iterable- Specified by:
iterator in interface java.util.Collection- Specified by:
iterator in interface java.util.List- Overrides:
iterator in class java.util.AbstractList
get
public java.lang.Object get(int index)
- Specified by:
get in interface java.util.List- Specified by:
get in class java.util.AbstractList
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
toString
public java.lang.String toString()
- Overrides:
toString in class java.util.AbstractCollection