Esempio n. 1
0
 /**
  * Creates a new Index and adds every member of c to it.
  *
  * @param c A collection of objects
  */
 public HashIndex(Collection<? extends E> c) {
   this();
   addAll(c);
 }
Esempio n. 2
0
 public HashIndex(Index<? extends E> index) {
   this();
   // TODO: this assumes that no index supports deletion
   addAll(index.objectsList());
 }
Esempio n. 3
0
 public HashIndex(Index<? extends E> index) {
   this();
   addAll(index.objectsList());
 }