Package com.automation_pros.odva.eds
Class ComplexField
- java.lang.Object
-
- com.automation_pros.odva.eds.EntryField
-
- com.automation_pros.odva.eds.ComplexField
-
- All Implemented Interfaces:
java.lang.Iterable<EntryField>
,java.util.Collection<EntryField>
,java.util.List<EntryField>
public class ComplexField extends EntryField implements java.util.List<EntryField>
-
-
Field Summary
Fields Modifier and Type Field Description java.util.LinkedList<EntryField>
delegate
-
Fields inherited from class com.automation_pros.odva.eds.EntryField
parent, subscripts
-
-
Constructor Summary
Constructors Constructor Description ComplexField(SectionEntry parent, int[] subscripts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, EntryField element)
boolean
add(EntryField entryField)
boolean
addAll(int index, java.util.Collection<? extends EntryField> c)
boolean
addAll(java.util.Collection<? extends EntryField> c)
void
clear()
boolean
contains(java.lang.Object o)
boolean
containsAll(java.util.Collection<?> c)
boolean
generate(java.io.PrintWriter pw, java.lang.String spacer, boolean continuation, boolean useComma, java.lang.String terminator)
EntryField
get(int index)
int
indexOf(java.lang.Object o)
boolean
isEmpty()
java.util.Iterator<EntryField>
iterator()
int
lastIndexOf(java.lang.Object o)
java.util.ListIterator<EntryField>
listIterator()
java.util.ListIterator<EntryField>
listIterator(int index)
EntryField
remove(int index)
boolean
remove(java.lang.Object o)
boolean
removeAll(java.util.Collection<?> c)
boolean
retainAll(java.util.Collection<?> c)
EntryField
set(int index, EntryField element)
int
size()
java.util.List<EntryField>
subList(int fromIndex, int toIndex)
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] a)
-
Methods inherited from class com.automation_pros.odva.eds.EntryField
getParent, getSubscripts
-
-
-
-
Field Detail
-
delegate
public final java.util.LinkedList<EntryField> delegate
-
-
Constructor Detail
-
ComplexField
public ComplexField(SectionEntry parent, int[] subscripts)
-
-
Method Detail
-
generate
public boolean generate(java.io.PrintWriter pw, java.lang.String spacer, boolean continuation, boolean useComma, java.lang.String terminator)
- Specified by:
generate
in classEntryField
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<EntryField>
- Specified by:
size
in interfacejava.util.List<EntryField>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacejava.util.Collection<EntryField>
- Specified by:
isEmpty
in interfacejava.util.List<EntryField>
-
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interfacejava.util.Collection<EntryField>
- Specified by:
contains
in interfacejava.util.List<EntryField>
-
iterator
public java.util.Iterator<EntryField> iterator()
- Specified by:
iterator
in interfacejava.util.Collection<EntryField>
- Specified by:
iterator
in interfacejava.lang.Iterable<EntryField>
- Specified by:
iterator
in interfacejava.util.List<EntryField>
-
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interfacejava.util.Collection<EntryField>
- Specified by:
toArray
in interfacejava.util.List<EntryField>
-
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray
in interfacejava.util.Collection<EntryField>
- Specified by:
toArray
in interfacejava.util.List<EntryField>
-
add
public boolean add(EntryField entryField)
- Specified by:
add
in interfacejava.util.Collection<EntryField>
- Specified by:
add
in interfacejava.util.List<EntryField>
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interfacejava.util.Collection<EntryField>
- Specified by:
remove
in interfacejava.util.List<EntryField>
-
containsAll
public boolean containsAll(java.util.Collection<?> c)
- Specified by:
containsAll
in interfacejava.util.Collection<EntryField>
- Specified by:
containsAll
in interfacejava.util.List<EntryField>
-
addAll
public boolean addAll(java.util.Collection<? extends EntryField> c)
- Specified by:
addAll
in interfacejava.util.Collection<EntryField>
- Specified by:
addAll
in interfacejava.util.List<EntryField>
-
addAll
public boolean addAll(int index, java.util.Collection<? extends EntryField> c)
- Specified by:
addAll
in interfacejava.util.List<EntryField>
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
- Specified by:
removeAll
in interfacejava.util.Collection<EntryField>
- Specified by:
removeAll
in interfacejava.util.List<EntryField>
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
- Specified by:
retainAll
in interfacejava.util.Collection<EntryField>
- Specified by:
retainAll
in interfacejava.util.List<EntryField>
-
clear
public void clear()
- Specified by:
clear
in interfacejava.util.Collection<EntryField>
- Specified by:
clear
in interfacejava.util.List<EntryField>
-
get
public EntryField get(int index)
- Specified by:
get
in interfacejava.util.List<EntryField>
-
set
public EntryField set(int index, EntryField element)
- Specified by:
set
in interfacejava.util.List<EntryField>
-
add
public void add(int index, EntryField element)
- Specified by:
add
in interfacejava.util.List<EntryField>
-
remove
public EntryField remove(int index)
- Specified by:
remove
in interfacejava.util.List<EntryField>
-
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf
in interfacejava.util.List<EntryField>
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interfacejava.util.List<EntryField>
-
listIterator
public java.util.ListIterator<EntryField> listIterator()
- Specified by:
listIterator
in interfacejava.util.List<EntryField>
-
listIterator
public java.util.ListIterator<EntryField> listIterator(int index)
- Specified by:
listIterator
in interfacejava.util.List<EntryField>
-
subList
public java.util.List<EntryField> subList(int fromIndex, int toIndex)
- Specified by:
subList
in interfacejava.util.List<EntryField>
-
-