The list of methods to do Vector Compare are organized into topic(s).
boolean
equals(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;
...
boolean
equalVectors(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++) {
...