com.teraspaces.qwfix
Class FIXSchemaFieldCollection
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<FIXSchemaField>
com.teraspaces.qwfix.FIXSchemaFieldCollection
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<FIXSchemaField>, Collection<FIXSchemaField>, List<FIXSchemaField>, RandomAccess
public final class FIXSchemaFieldCollection
- extends ArrayList<FIXSchemaField>
Represents a collection of FIXSchemaField. This class cannot be inherited.
- See Also:
- Serialized Form
| Methods inherited from class java.util.ArrayList |
clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, size, toArray, toArray, trimToSize |
getSchema
public FIXSchema getSchema()
add
public boolean add(FIXSchemaField field)
- Specified by:
add in interface Collection<FIXSchemaField>- Specified by:
add in interface List<FIXSchemaField>- Overrides:
add in class ArrayList<FIXSchemaField>
add
public void add(int index,
FIXSchemaField field)
- Specified by:
add in interface List<FIXSchemaField>- Overrides:
add in class ArrayList<FIXSchemaField>
set
public FIXSchemaField set(int index,
FIXSchemaField field)
- Specified by:
set in interface List<FIXSchemaField>- Overrides:
set in class ArrayList<FIXSchemaField>
addAll
public boolean addAll(Collection<? extends FIXSchemaField> c)
- Specified by:
addAll in interface Collection<FIXSchemaField>- Specified by:
addAll in interface List<FIXSchemaField>- Overrides:
addAll in class ArrayList<FIXSchemaField>
addAll
public boolean addAll(int index,
Collection<? extends FIXSchemaField> c)
- Specified by:
addAll in interface List<FIXSchemaField>- Overrides:
addAll in class ArrayList<FIXSchemaField>
getFieldByTag
public FIXSchemaField getFieldByTag(int tag)
- Gets the field by tag.
- Parameters:
tag - the tag
- Returns:
- the field by tag
getFieldByName
public FIXSchemaField getFieldByName(String name)
- Gets the field by name.
- Parameters:
name - the name
- Returns:
- the field by name