Class Path3afp.PointCollection<P extends Point3D<? super P,? super V>,V extends Vector3D<? super V,? super P>>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d3.afp.Path3afp.PointCollection<P,V>
-
- Type Parameters:
P
- the type of the points.V
- the type of the vectors.
- All Implemented Interfaces:
Iterable<P>
,Collection<P>
- Enclosing interface:
- Path3afp<ST extends Shape3afp<?,?,IE,P,V,B>,IT extends Path3afp<?,?,IE,P,V,B>,IE extends PathElement3afp,P extends Point3D<? super P,? super V>,V extends Vector3D<? super V,? super P>,B extends RectangularPrism3afp<?,?,IE,P,V,B>>
public static class Path3afp.PointCollection<P extends Point3D<? super P,? super V>,V extends Vector3D<? super V,? super P>> extends Object implements Collection<P>
An collection of the points of the path.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:43
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathgeom
-
-
Constructor Summary
Constructors Constructor Description PointCollection(Path3afp<?,?,?,P,V,?> path)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(P element)
boolean
addAll(Collection<? extends P> collection)
void
clear()
boolean
contains(Object obj)
boolean
containsAll(Collection<?> collection)
boolean
isEmpty()
Iterator<P>
iterator()
boolean
remove(Object object)
boolean
removeAll(Collection<?> collection)
boolean
retainAll(Collection<?> collection)
int
size()
Object[]
toArray()
<T> T[]
toArray(T[] array)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
-
-
-
Method Detail
-
size
@Pure public int size()
-
isEmpty
@Pure public boolean isEmpty()
-
contains
@Pure public boolean contains(Object obj)
-
toArray
@Pure public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] array)
-
add
public boolean add(P element)
-
remove
public boolean remove(Object object)
-
containsAll
@Pure public boolean containsAll(Collection<?> collection)
- Specified by:
containsAll
in interfaceCollection<P extends Point3D<? super P,? super V>>
-
addAll
public boolean addAll(Collection<? extends P> collection)
-
removeAll
public boolean removeAll(Collection<?> collection)
-
retainAll
public boolean retainAll(Collection<?> collection)
-
-