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, toArrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
toStringin classAbstractCollection<E>
-
equals
-
iterator
- Specified by:
iteratorin interfaceCollection<E>- Specified by:
iteratorin interfaceIterable<E>- Specified by:
iteratorin classAbstractCollection<E>
-
stream
-
map
-
view
-
pad
Description copied from interface:VectorReturn 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.
-