Package provided.owlMaps.general
Interface IPathList<E>
- Type Parameters:
E
- The type of elements held in the contained lists.
- All Superinterfaces:
java.util.Collection<IPath<E>>
,IPaths<E>
,java.lang.Iterable<IPath<E>>
,java.util.List<IPath<E>>
,java.io.Serializable
- All Known Subinterfaces:
IPathListLatLng
- All Known Implementing Classes:
PathList
public interface IPathList<E> extends IPaths<E>, java.util.List<IPath<E>>
A Standard Visitor pattern host that represents a list of lists of element of type E,
i.e. a List<IPath<E>>.
this is the inductive case of IPaths.
Note: There is an execute() method inherited from IPaths.
- Author:
- swong
-
Method Summary
Static Methods Modifier and Type Method Description static <T> IPathList<T>
make(IPath<T>... elements)
Convenience factory for constructing an IPathList instance from a varargs of IPath instances.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.lang.Iterable
forEach
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Method Details
-
make
Convenience factory for constructing an IPathList instance from a varargs of IPath instances. Note that the concrete implementation of IPathList has the same constructors as ArrayList for use in other situations.- Type Parameters:
T
- The type of elements in the IPath objects used to fill the path list with.- Parameters:
elements
- Varargs of the IPath elements of the IPathList- Returns:
- A new IPathList object
-