Remove added inheritDoc tags again.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371938 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
319e56ff45
commit
bd169e674c
|
@ -65,30 +65,18 @@ public abstract class AbstractBagDecorator<E>
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public int getCount(Object object) {
|
||||
return decorated().getCount(object);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public boolean add(E object, int count) {
|
||||
return decorated().add(object, count);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public boolean remove(Object object, int count) {
|
||||
return decorated().remove(object, count);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public Set<E> uniqueSet() {
|
||||
return decorated().uniqueSet();
|
||||
}
|
||||
|
|
|
@ -64,23 +64,14 @@ public abstract class AbstractSortedBagDecorator<E>
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public E first() {
|
||||
return decorated().first();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public E last() {
|
||||
return decorated().last();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public Comparator<? super E> comparator() {
|
||||
return decorated().comparator();
|
||||
}
|
||||
|
|
|
@ -88,31 +88,19 @@ public class PredicatedBag<E> extends PredicatedCollection<E> implements Bag<E>
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public boolean add(E object, int count) {
|
||||
validate(object);
|
||||
return decorated().add(object, count);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public boolean remove(Object object, int count) {
|
||||
return decorated().remove(object, count);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public Set<E> uniqueSet() {
|
||||
return decorated().uniqueSet();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public int getCount(Object object) {
|
||||
return decorated().getCount(object);
|
||||
}
|
||||
|
|
|
@ -86,23 +86,14 @@ public class PredicatedSortedBag<E> extends PredicatedBag<E> implements SortedBa
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public E first() {
|
||||
return decorated().first();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public E last() {
|
||||
return decorated().last();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public Comparator<? super E> comparator() {
|
||||
return decorated().comparator();
|
||||
}
|
||||
|
|
|
@ -84,27 +84,18 @@ public class SynchronizedBag<E> extends SynchronizedCollection<E> implements Bag
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public boolean add(E object, int count) {
|
||||
synchronized (lock) {
|
||||
return getBag().add(object, count);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public boolean remove(Object object, int count) {
|
||||
synchronized (lock) {
|
||||
return getBag().remove(object, count);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public Set<E> uniqueSet() {
|
||||
synchronized (lock) {
|
||||
Set<E> set = getBag().uniqueSet();
|
||||
|
@ -112,9 +103,6 @@ public class SynchronizedBag<E> extends SynchronizedCollection<E> implements Bag
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public int getCount(Object object) {
|
||||
synchronized (lock) {
|
||||
return getBag().getCount(object);
|
||||
|
|
|
@ -83,27 +83,18 @@ public class SynchronizedSortedBag<E> extends SynchronizedBag<E> implements Sort
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public synchronized E first() {
|
||||
synchronized (lock) {
|
||||
return getSortedBag().first();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public synchronized E last() {
|
||||
synchronized (lock) {
|
||||
return getSortedBag().last();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public synchronized Comparator<? super E> comparator() {
|
||||
synchronized (lock) {
|
||||
return getSortedBag().comparator();
|
||||
|
|
|
@ -111,32 +111,20 @@ public class TransformedBag<E> extends TransformedCollection<E> implements Bag<E
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public int getCount(Object object) {
|
||||
return getBag().getCount(object);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public boolean remove(Object object, int nCopies) {
|
||||
return getBag().remove(object, nCopies);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public boolean add(E object, int nCopies) {
|
||||
return getBag().add(transform(object), nCopies);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public Set<E> uniqueSet() {
|
||||
Set<E> set = getBag().uniqueSet();
|
||||
return TransformedSet.<E>transformingSet(set, transformer);
|
||||
|
|
|
@ -111,23 +111,14 @@ public class TransformedSortedBag<E> extends TransformedBag<E> implements Sorted
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public E first() {
|
||||
return getSortedBag().first();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public E last() {
|
||||
return getSortedBag().last();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public Comparator<? super E> comparator() {
|
||||
return getSortedBag().comparator();
|
||||
}
|
||||
|
|
|
@ -94,30 +94,18 @@ public class TreeBag<E> extends AbstractMapBag<E> implements SortedBag<E>, Seria
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public E first() {
|
||||
return getMap().firstKey();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public E last() {
|
||||
return getMap().lastKey();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public Comparator<? super E> comparator() {
|
||||
return getMap().comparator();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
protected SortedMap<E, AbstractMapBag.MutableInteger> getMap() {
|
||||
return (SortedMap<E, AbstractMapBag.MutableInteger>) super.getMap();
|
||||
|
|
Loading…
Reference in New Issue