Ejemplo n.º 1
0
 public int find(Vec vec) {
   for (int i = 0; i < _vecs.length; i++) if (vec.equals(_vecs[i])) return i;
   return -1;
 }