Package com.graphhopper.util
Class InstructionList
- All Implemented Interfaces:
Iterable<Instruction>,Collection<Instruction>,List<Instruction>
List of instructions.
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int index, Instruction element) get(int index) getTr()remove(int index) set(int index, Instruction element) intsize()Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
InstructionList
-
InstructionList
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<Instruction>- Specified by:
sizein interfaceList<Instruction>- Specified by:
sizein classAbstractCollection<Instruction>
-
get
- Specified by:
getin interfaceList<Instruction>- Specified by:
getin classAbstractList<Instruction>
-
set
- Specified by:
setin interfaceList<Instruction>- Overrides:
setin classAbstractList<Instruction>
-
add
- Specified by:
addin interfaceList<Instruction>- Overrides:
addin classAbstractList<Instruction>
-
remove
- Specified by:
removein interfaceList<Instruction>- Overrides:
removein classAbstractList<Instruction>
-
getTr
-