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.AbstractListGiven a list of attributes, return the combined elements in a list.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Listelements
-
Constructor Summary
Constructors Constructor Description Cat(java.util.List attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget(int index)java.util.Iteratoriterator()intsize()java.lang.StringtoString()-
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
-
-
-
-
Method Detail
-
iterator
public java.util.Iterator iterator()
- Specified by:
iteratorin interfacejava.util.Collection- Specified by:
iteratorin interfacejava.lang.Iterable- Specified by:
iteratorin interfacejava.util.List- Overrides:
iteratorin classjava.util.AbstractList
-
get
public java.lang.Object get(int index)
- Specified by:
getin interfacejava.util.List- Specified by:
getin classjava.util.AbstractList
-
size
public int size()
- Specified by:
sizein interfacejava.util.Collection- Specified by:
sizein interfacejava.util.List- Specified by:
sizein classjava.util.AbstractCollection
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.util.AbstractCollection
-
-