Package software.kes.collectionviews
Class VectorHelpers
- java.lang.Object
-
- software.kes.collectionviews.VectorHelpers
-
public final class VectorHelpers extends java.lang.ObjectHelper methods for implementers of customVectors.If you are implementing a custom
Vector, yourequalsandhashCodemethods SHOULD delegate tovectorEqualsandvectorHashCode, respectively. This will ensure that equality works correctly with the built-inVectortypes.Your
toStringmethod MAY delegate tovectorToString.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanvectorEquals(Vector<?> vector, Vector<?> other)static intvectorHashCode(Vector<?> vector)static <A> java.util.Iterator<A>vectorIterator(Vector<A> vector)static java.lang.StringvectorToString(Vector<?> vector)
-