/** * Returns the number of duplicates of the specified value. */ public int getCount(E value) { final int index = this.indexOf(value); if(index == -1) return 0; else return getCount(index); }
/** * Returns the number of duplicates of the specified value. */ public int getCount(E value) { final int index = this.indexOf(value); if(index == -1) return 0; else return getCount(index); }
/** * Returns the number of duplicates of the specified value. */ public int getCount(E value) { final int index = this.indexOf(value); if(index == -1) return 0; else return getCount(index); }
/** * Returns a List of all original elements represented by the given * <code>value</code> within this {@link UniqueList}. */ public List<E> getAll(E value) { final int index = this.indexOf(value); return index == -1 ? Collections.<E>emptyList() : this.getAll(index); }
/** * Returns a List of all original elements represented by the given * <code>value</code> within this {@link UniqueList}. */ public List<E> getAll(E value) { final int index = this.indexOf(value); return index == -1 ? Collections.<E>emptyList() : this.getAll(index); }
/** * Returns a List of all original elements represented by the given * <code>value</code> within this {@link UniqueList}. */ public List<E> getAll(E value) { final int index = this.indexOf(value); return index == -1 ? Collections.<E>emptyList() : this.getAll(index); }