Java Utililty Methods Vector Compare

List of utility methods to do Vector Compare

Description

The list of methods to do Vector Compare are organized into topic(s).

Method

booleanequals(Vector vFirst_, Vector vSecond_)
Do the elements of two vectors at the same position equal each other?
if (vFirst_ == vSecond_) {
    return true;
if (vFirst_ == null || vSecond_ == null) {
    return false;
if (vFirst_.size() != vSecond_.size()) {
    return false;
...
booleanequalVectors(Vector aV1, Vector aV2)
compares two Vector instances.
if ((aV1 == null) && (aV2 == null)) {
    return true;
else if ((aV1 != null) && (aV2 != null)) {
    if (aV1.size() != aV2.size()) {
        return false;
    for (int i = 0; i < aV1.size(); i++) {
...
booleanisEquals(Object[] array, Vector vector)
is Equals
return isEquals(createVector(array), vector);
booleanisIdentical(Object[] array, Vector vector)
is Identical
return isIdentical(createVector(array), vector);