Example #1
0
 /**
  * Removes the attribute at the provided index. If no attribute is found, nothing will be removed.
  *
  * @param index The index of the attribute to remove
  */
 public void removeAttribute(int index) {
   attributes.remove(index);
   nameToIndex.remove(getAttributeName(index));
 }
 @Override
 public boolean remove(DBIDRef id) {
   return data.remove(DBIDUtil.asInteger(id)) != null;
 }