Remove again closing unneeded closing p tags to keep consistency.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353162 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b6aac639d9
commit
5755bebf5d
|
@ -24,7 +24,7 @@ import org.apache.commons.collections.collection.AbstractCollectionDecorator;
|
|||
/**
|
||||
* Decorates another <code>Bag</code> to provide additional behaviour.
|
||||
* <p>
|
||||
* Methods are forwarded directly to the decorated bag.</p>
|
||||
* Methods are forwarded directly to the decorated bag.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
|
|
|
@ -35,7 +35,7 @@ import org.apache.commons.collections.set.UnmodifiableSet;
|
|||
* <p>
|
||||
* Subclasses specify a Map implementation to use as the internal storage. The
|
||||
* map will be used to map bag elements to a number; the number represents the
|
||||
* number of occurrences of that element in the bag.</p>
|
||||
* number of occurrences of that element in the bag.
|
||||
*
|
||||
* @since Commons Collections 3.0 (previously DefaultMapBag v2.0)
|
||||
* @version $Revision$
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.apache.commons.collections.SortedBag;
|
|||
/**
|
||||
* Decorates another <code>SortedBag</code> to provide additional behaviour.
|
||||
* <p>
|
||||
* Methods are forwarded directly to the decorated bag.</p>
|
||||
* Methods are forwarded directly to the decorated bag.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
|
|
|
@ -33,7 +33,7 @@ import org.apache.commons.collections.Bag;
|
|||
* 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
|
||||
* <code>Collection</code> interface specification.</p>
|
||||
* <code>Collection</code> interface specification.
|
||||
*
|
||||
* @since Commons Collections 3.0 (previously in main package v2.0)
|
||||
* @version $Revision$
|
||||
|
|
|
@ -28,12 +28,12 @@ import org.apache.commons.collections.collection.PredicatedCollection;
|
|||
* <p>
|
||||
* This bag exists to provide validation for the decorated bag.
|
||||
* It is normally created to decorate an empty bag.
|
||||
* If an object cannot be added to the bag, an IllegalArgumentException is thrown.</p>
|
||||
* If an object cannot be added to the bag, an IllegalArgumentException is thrown.
|
||||
* <p>
|
||||
* One usage would be to ensure that no null entries are added to the bag.
|
||||
* <pre>Bag bag = PredicatedBag.decorate(new HashBag(), NotNullPredicate.INSTANCE);</pre></p>
|
||||
* <pre>Bag bag = PredicatedBag.decorate(new HashBag(), NotNullPredicate.INSTANCE);</pre>
|
||||
* <p>
|
||||
* This class is Serializable from Commons Collections 3.1.</p>
|
||||
* This class is Serializable from Commons Collections 3.1.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
|
@ -51,7 +51,7 @@ public class PredicatedBag<E>
|
|||
* Factory method to create a predicated (validating) bag.
|
||||
* <p>
|
||||
* If there are any elements already in the bag being decorated, they
|
||||
* are validated.</p>
|
||||
* are validated.
|
||||
*
|
||||
* @param <E> the type of the elements in the bag
|
||||
* @param bag the bag to decorate, must not be null
|
||||
|
@ -69,7 +69,7 @@ public class PredicatedBag<E>
|
|||
* Constructor that wraps (not copies).
|
||||
* <p>
|
||||
* If there are any elements already in the bag being decorated, they
|
||||
* are validated.</p>
|
||||
* are validated.
|
||||
*
|
||||
* @param bag the bag to decorate, must not be null
|
||||
* @param predicate the predicate to use for validation, must not be null
|
||||
|
|
|
@ -27,12 +27,12 @@ import org.apache.commons.collections.SortedBag;
|
|||
* <p>
|
||||
* This bag exists to provide validation for the decorated bag.
|
||||
* It is normally created to decorate an empty bag.
|
||||
* If an object cannot be added to the bag, an IllegalArgumentException is thrown.</p>
|
||||
* If an object cannot be added to the bag, an IllegalArgumentException is thrown.
|
||||
* <p>
|
||||
* One usage would be to ensure that no null entries are added to the bag.
|
||||
* <pre>SortedBag bag = PredicatedSortedBag.decorate(new TreeBag(), NotNullPredicate.INSTANCE);</pre></p>
|
||||
* <pre>SortedBag bag = PredicatedSortedBag.decorate(new TreeBag(), NotNullPredicate.INSTANCE);</pre>
|
||||
* <p>
|
||||
* This class is Serializable from Commons Collections 3.1.</p>
|
||||
* This class is Serializable from Commons Collections 3.1.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
|
@ -50,7 +50,7 @@ public class PredicatedSortedBag<E>
|
|||
* Factory method to create a predicated (validating) bag.
|
||||
* <p>
|
||||
* If there are any elements already in the bag being decorated, they
|
||||
* are validated.</p>
|
||||
* are validated.
|
||||
*
|
||||
* @param <E> the type of the elements in the bag
|
||||
* @param bag the bag to decorate, must not be null
|
||||
|
@ -67,7 +67,7 @@ public class PredicatedSortedBag<E>
|
|||
/**
|
||||
* Constructor that wraps (not copies).
|
||||
* <p>If there are any elements already in the bag being decorated, they
|
||||
* are validated.</p>
|
||||
* are validated.
|
||||
*
|
||||
* @param bag the bag to decorate, must not be null
|
||||
* @param predicate the predicate to use for validation, must not be null
|
||||
|
|
|
@ -27,9 +27,9 @@ import org.apache.commons.collections.set.SynchronizedSet;
|
|||
* for a multi-threaded environment.
|
||||
* <p>
|
||||
* Methods are synchronized, then forwarded to the decorated bag.
|
||||
* Iterators must be separately synchronized around the loop.</p>
|
||||
* Iterators must be separately synchronized around the loop.
|
||||
* <p>
|
||||
* This class is Serializable from Commons Collections 3.1.</p>
|
||||
* This class is Serializable from Commons Collections 3.1.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
|
|
|
@ -26,9 +26,9 @@ import org.apache.commons.collections.SortedBag;
|
|||
* for a multi-threaded environment.
|
||||
* <p>
|
||||
* Methods are synchronized, then forwarded to the decorated bag.
|
||||
* Iterators must be separately synchronized around the loop.</p>
|
||||
* Iterators must be separately synchronized around the loop.
|
||||
* <p>
|
||||
* This class is Serializable from Commons Collections 3.1.</p>
|
||||
* This class is Serializable from Commons Collections 3.1.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
|
|
|
@ -29,9 +29,9 @@ import org.apache.commons.collections.set.TransformedSet;
|
|||
* The add methods are affected by this class.
|
||||
* Thus objects must be removed or searched for using their transformed form.
|
||||
* For example, if the transformation converts Strings to Integers, you must
|
||||
* use the Integer form to remove objects.</p>
|
||||
* use the Integer form to remove objects.
|
||||
* <p>
|
||||
* This class is Serializable from Commons Collections 3.1.</p>
|
||||
* This class is Serializable from Commons Collections 3.1.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
|
@ -48,7 +48,7 @@ public class TransformedBag<E>
|
|||
* Factory method to create a transforming bag.
|
||||
* <p>
|
||||
* If there are any elements already in the bag being decorated, they
|
||||
* are NOT transformed. Contrast this with {@link #transformedBag(Bag, Transformer)}.</p>
|
||||
* are NOT transformed. Contrast this with {@link #transformedBag(Bag, Transformer)}.
|
||||
*
|
||||
* @param <E> the type of the elements in the bag
|
||||
* @param bag the bag to decorate, must not be null
|
||||
|
@ -66,7 +66,7 @@ public class TransformedBag<E>
|
|||
* <p>
|
||||
* If there are any elements already in the bag being decorated, they
|
||||
* will be transformed by this method.
|
||||
* Contrast this with {@link #transformingBag(Bag, Transformer)}.</p>
|
||||
* Contrast this with {@link #transformingBag(Bag, Transformer)}.
|
||||
*
|
||||
* @param <E> the type of the elements in the bag
|
||||
* @param bag the bag to decorate, must not be null
|
||||
|
@ -93,7 +93,7 @@ public class TransformedBag<E>
|
|||
* Constructor that wraps (not copies).
|
||||
* <p>
|
||||
* If there are any elements already in the bag being decorated, they
|
||||
* are NOT transformed.</p>
|
||||
* are NOT transformed.
|
||||
*
|
||||
* @param bag the bag to decorate, must not be null
|
||||
* @param transformer the transformer to use for conversion, must not be null
|
||||
|
|
|
@ -27,9 +27,9 @@ import org.apache.commons.collections.Transformer;
|
|||
* The add methods are affected by this class.
|
||||
* Thus objects must be removed or searched for using their transformed form.
|
||||
* For example, if the transformation converts Strings to Integers, you must
|
||||
* use the Integer form to remove objects.</p>
|
||||
* use the Integer form to remove objects.
|
||||
* <p>
|
||||
* This class is Serializable from Commons Collections 3.1.</p>
|
||||
* This class is Serializable from Commons Collections 3.1.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
|
@ -46,7 +46,7 @@ public class TransformedSortedBag<E>
|
|||
* Factory method to create a transforming sorted bag.
|
||||
* <p>
|
||||
* If there are any elements already in the bag being decorated, they
|
||||
* are NOT transformed. Contrast this with {@link #transformedSortedBag(SortedBag, Transformer)}.</p>
|
||||
* are NOT transformed. Contrast this with {@link #transformedSortedBag(SortedBag, Transformer)}.
|
||||
*
|
||||
* @param <E> the type of the elements in the bag
|
||||
* @param bag the bag to decorate, must not be null
|
||||
|
@ -65,7 +65,7 @@ public class TransformedSortedBag<E>
|
|||
* <p>
|
||||
* If there are any elements already in the bag being decorated, they
|
||||
* will be transformed by this method.
|
||||
* Contrast this with {@link #transformingSortedBag(SortedBag, Transformer)}.</p>
|
||||
* Contrast this with {@link #transformingSortedBag(SortedBag, Transformer)}.
|
||||
*
|
||||
* @param <E> the type of the elements in the bag
|
||||
* @param bag the bag to decorate, must not be null
|
||||
|
@ -93,7 +93,7 @@ public class TransformedSortedBag<E>
|
|||
* Constructor that wraps (not copies).
|
||||
* <p>
|
||||
* If there are any elements already in the bag being decorated, they
|
||||
* are NOT transformed.</p>
|
||||
* are NOT transformed.
|
||||
*
|
||||
* @param bag the bag to decorate, must not be null
|
||||
* @param transformer the transformer to use for conversion, must not be null
|
||||
|
|
|
@ -32,9 +32,9 @@ import org.apache.commons.collections.set.UnmodifiableSet;
|
|||
/**
|
||||
* Decorates another <code>Bag</code> to ensure it can't be altered.
|
||||
* <p>
|
||||
* This class is Serializable from Commons Collections 3.1.</p>
|
||||
* This class is Serializable from Commons Collections 3.1.
|
||||
* <p>
|
||||
* Attempts to modify it will result in an UnsupportedOperationException.</p>
|
||||
* Attempts to modify it will result in an UnsupportedOperationException.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
|
@ -50,7 +50,7 @@ public final class UnmodifiableBag<E>
|
|||
/**
|
||||
* Factory method to create an unmodifiable bag.
|
||||
* <p>
|
||||
* If the bag passed in is already unmodifiable, it is returned.</p>
|
||||
* If the bag passed in is already unmodifiable, it is returned.
|
||||
*
|
||||
* @param <E> the type of the elements in the bag
|
||||
* @param bag the bag to decorate, must not be null
|
||||
|
|
|
@ -32,9 +32,9 @@ import org.apache.commons.collections.set.UnmodifiableSet;
|
|||
/**
|
||||
* Decorates another <code>SortedBag</code> to ensure it can't be altered.
|
||||
* <p>
|
||||
* This class is Serializable from Commons Collections 3.1.</p>
|
||||
* This class is Serializable from Commons Collections 3.1.
|
||||
* <p>
|
||||
* Attempts to modify it will result in an UnsupportedOperationException.</p>
|
||||
* Attempts to modify it will result in an UnsupportedOperationException.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
|
@ -50,7 +50,7 @@ public final class UnmodifiableSortedBag<E>
|
|||
/**
|
||||
* Factory method to create an unmodifiable bag.
|
||||
* <p>
|
||||
* If the bag passed in is already unmodifiable, it is returned.</p>
|
||||
* If the bag passed in is already unmodifiable, it is returned.
|
||||
*
|
||||
* @param <E> the type of the elements in the bag
|
||||
* @param bag the bag to decorate, must not be null
|
||||
|
|
Loading…
Reference in New Issue