Class BaseVector<E>
java.lang.Object
java.util.AbstractCollection<E>
dk.jonaslindstrom.ruffini.common.vector.BaseVector<E>
- All Implemented Interfaces:
Vector<E>
,Iterable<E>
,Collection<E>
- Direct Known Subclasses:
ConcreteVector
,ConstructiveVector
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, toArray, toArray, toArray
-
Constructor Details
-
BaseVector
public BaseVector()
-
-
Method Details
-
toString
- Overrides:
toString
in classAbstractCollection<E>
-
equals
-
iterator
- Specified by:
iterator
in interfaceCollection<E>
- Specified by:
iterator
in interfaceIterable<E>
- Specified by:
iterator
in classAbstractCollection<E>
-
stream
-
map
-
view
-
pad
Description copied from interface:Vector
Return a vector padded with a given value to have a certain length. If n is larger than the current dimension, the given padding value is used for the new entries.
-