Java Utililty Methods Vector Compare

List of utility methods to do Vector Compare

  1. HOME
  2. Java
  3. V
  4. Vector Compare

Description

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

Method

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++) {
...
boolean isEquals(Object[] array, Vector vector)
is Equals
return isEquals(createVector(array), vector);
boolean isIdentical(Object[] array, Vector vector)
is Identical
return isIdentical(createVector(array), vector);

AltStyle によって変換されたページ (->オリジナル) /