예제 #1
0
 /**
  * *************************************** Check if another object is equal to this Scaling6
  * object ****************************************
  */
 public boolean equals(Object a) {
   if ((a != null) && (a instanceof Scaling6)) {
     Scaling6 iv = (Scaling6) a;
     return (this.dimension(0) == iv.dimension(0)) && (this.position() == iv.position());
   }
   return false;
 }
예제 #2
0
 /**
  * ****************************************** Return a copy of this object
  * *******************************************
  */
 public Object clone() {
   Scaling6 s = (Scaling6) super.clone();
   s.n0 = n0;
   s.k = k;
   return (s);
 }