Fix spelling, formatting.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470005 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-04-19 19:35:10 +00:00
parent 7b6903f116
commit c143260d76
2 changed files with 8 additions and 10 deletions

View File

@ -56,7 +56,7 @@ public interface Bag<E> extends Collection<E> {
/**
* <i>(Violation)</i>
* Adds one copy the specified object to the Bag.
* Adds one copy of the specified object to the Bag.
* <p>
* If the object is already in the {@link #uniqueSet()} then increment its
* count as reported by {@link #getCount(Object)}. Otherwise add it to the

View File

@ -28,17 +28,15 @@ import java.util.TreeMap;
import org.apache.commons.collections4.SortedBag;
/**
* Implements {@link SortedBag}, using a {@link TreeMap} to provide
* the data storage. This is the standard implementation of a sorted bag.
* Implements {@link SortedBag}, using a {@link TreeMap} to provide the data storage.
* This is the standard implementation of a sorted bag.
* <p>
* Order will be maintained among the bag members and can be viewed through the
* iterator.
* Order will be maintained among the bag members and can be viewed through the iterator.
* <p>
* A {@link org.apache.commons.collections4.Bag Bag} stores each object in the collection together with a count
* of occurrences. Extra methods on the interface allow multiple copies of an
* object to be added or removed at once. It is important to read the interface
* javadoc carefully as several methods violate the {@link Collection}
* interface specification.
* A {@link org.apache.commons.collections4.Bag Bag} stores each object in the collection
* together with a count of occurrences. Extra methods on the interface allow multiple
* copies of an object to be added or removed at once. It is important to read the interface
* javadoc carefully as several methods violate the {@link Collection} interface specification.
*
* @since 3.0 (previously in main package v2.0)
* @version $Id$