Repository: commons-collections Updated Branches: refs/heads/master 8e09f5f53 -> 5d756cebd
Javadoc: Add missing @param tags for generics. Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-collections/commit/5d756ceb Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/5d756ceb Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/5d756ceb Branch: refs/heads/master Commit: 5d756cebd7b99af057133befc90ad33d7f89b316 Parents: 8e09f5f Author: Gary Gregory <ggreg...@apache.org> Authored: Thu Dec 28 13:32:52 2017 -0700 Committer: Gary Gregory <ggreg...@apache.org> Committed: Thu Dec 28 13:32:52 2017 -0700 ---------------------------------------------------------------------- .../java/org/apache/commons/collections4/BoundedCollection.java | 1 + src/main/java/org/apache/commons/collections4/BoundedMap.java | 2 ++ src/main/java/org/apache/commons/collections4/IterableMap.java | 5 +++-- src/main/java/org/apache/commons/collections4/MultiMap.java | 3 +++ src/main/java/org/apache/commons/collections4/Trie.java | 2 ++ .../commons/collections4/bidimap/AbstractBidiMapDecorator.java | 2 ++ .../collections4/bidimap/AbstractOrderedBidiMapDecorator.java | 2 ++ .../collections4/bidimap/AbstractSortedBidiMapDecorator.java | 2 ++ .../apache/commons/collections4/bidimap/DualTreeBidiMap.java | 2 ++ .../org/apache/commons/collections4/bidimap/TreeBidiMap.java | 3 +++ .../commons/collections4/bidimap/UnmodifiableBidiMap.java | 2 ++ .../collections4/bidimap/UnmodifiableOrderedBidiMap.java | 2 ++ .../commons/collections4/bidimap/UnmodifiableSortedBidiMap.java | 2 ++ .../collections4/collection/UnmodifiableBoundedCollection.java | 1 + .../org/apache/commons/collections4/list/FixedSizeList.java | 1 + .../org/apache/commons/collections4/map/AbstractHashedMap.java | 2 ++ .../apache/commons/collections4/map/AbstractIterableMap.java | 2 ++ .../org/apache/commons/collections4/map/AbstractLinkedMap.java | 2 ++ .../commons/collections4/map/AbstractOrderedMapDecorator.java | 2 ++ .../apache/commons/collections4/map/AbstractReferenceMap.java | 3 +++ .../org/apache/commons/collections4/map/CaseInsensitiveMap.java | 2 ++ .../java/org/apache/commons/collections4/map/CompositeMap.java | 2 ++ .../java/org/apache/commons/collections4/map/DefaultedMap.java | 4 +++- .../java/org/apache/commons/collections4/map/FixedSizeMap.java | 2 ++ .../org/apache/commons/collections4/map/FixedSizeSortedMap.java | 2 ++ src/main/java/org/apache/commons/collections4/map/Flat3Map.java | 2 ++ .../java/org/apache/commons/collections4/map/HashedMap.java | 2 ++ src/main/java/org/apache/commons/collections4/map/LRUMap.java | 2 ++ src/main/java/org/apache/commons/collections4/map/LazyMap.java | 2 ++ .../java/org/apache/commons/collections4/map/LazySortedMap.java | 2 ++ .../java/org/apache/commons/collections4/map/LinkedMap.java | 2 ++ .../org/apache/commons/collections4/map/ListOrderedMap.java | 2 ++ .../java/org/apache/commons/collections4/map/MultiKeyMap.java | 2 ++ .../java/org/apache/commons/collections4/map/MultiValueMap.java | 2 ++ .../org/apache/commons/collections4/map/PassiveExpiringMap.java | 4 ++-- .../java/org/apache/commons/collections4/map/PredicatedMap.java | 2 ++ .../apache/commons/collections4/map/PredicatedSortedMap.java | 2 ++ .../apache/commons/collections4/map/ReferenceIdentityMap.java | 4 +++- .../java/org/apache/commons/collections4/map/SingletonMap.java | 2 ++ .../org/apache/commons/collections4/map/StaticBucketMap.java | 2 ++ .../org/apache/commons/collections4/map/TransformedMap.java | 5 ++++- .../apache/commons/collections4/map/TransformedSortedMap.java | 2 ++ .../org/apache/commons/collections4/map/UnmodifiableMap.java | 2 ++ .../apache/commons/collections4/map/UnmodifiableOrderedMap.java | 2 ++ .../apache/commons/collections4/map/UnmodifiableSortedMap.java | 2 ++ .../apache/commons/collections4/queue/CircularFifoQueue.java | 1 + .../apache/commons/collections4/trie/AbstractBitwiseTrie.java | 2 ++ .../java/org/apache/commons/collections4/trie/PatriciaTrie.java | 2 ++ .../org/apache/commons/collections4/trie/UnmodifiableTrie.java | 2 ++ .../bidimap/AbstractOrderedBidiMapDecoratorTest.java | 2 ++ .../java/org/apache/commons/collections4/map/IdentityMap.java | 2 ++ 51 files changed, 106 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/BoundedCollection.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/BoundedCollection.java b/src/main/java/org/apache/commons/collections4/BoundedCollection.java index e047219..2431cd5 100644 --- a/src/main/java/org/apache/commons/collections4/BoundedCollection.java +++ b/src/main/java/org/apache/commons/collections4/BoundedCollection.java @@ -28,6 +28,7 @@ import java.util.Collection; * @see CollectionUtils#isFull * @see CollectionUtils#maxSize * + * @param <E> the type of elements in this collection * @since 3.0 */ public interface BoundedCollection<E> extends Collection<E> { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/BoundedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/BoundedMap.java b/src/main/java/org/apache/commons/collections4/BoundedMap.java index ec61cd7..cadc0ab 100644 --- a/src/main/java/org/apache/commons/collections4/BoundedMap.java +++ b/src/main/java/org/apache/commons/collections4/BoundedMap.java @@ -23,6 +23,8 @@ package org.apache.commons.collections4; * maximum number of elements. This interface allows the querying of details * associated with the maximum number of elements. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public interface BoundedMap<K, V> extends IterableMap<K, V> { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/IterableMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/IterableMap.java b/src/main/java/org/apache/commons/collections4/IterableMap.java index 836aa2a..9c7fc19 100644 --- a/src/main/java/org/apache/commons/collections4/IterableMap.java +++ b/src/main/java/org/apache/commons/collections4/IterableMap.java @@ -33,10 +33,11 @@ import java.util.Map; * } * </pre> * - * @param <K> the type of the keys in the map - * @param <V> the type of the values in the map + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * * @since 3.0 */ public interface IterableMap<K, V> extends Map<K, V>, Put<K, V>, IterableGet<K, V> { + // empty } http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/MultiMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/MultiMap.java b/src/main/java/org/apache/commons/collections4/MultiMap.java index 102451c..1d582d5 100644 --- a/src/main/java/org/apache/commons/collections4/MultiMap.java +++ b/src/main/java/org/apache/commons/collections4/MultiMap.java @@ -39,6 +39,9 @@ import java.util.Collection; * These were added solely for documentation purposes and do not change the interface * as they were defined in the superinterface <code>Map</code> anyway. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map + * * @since 2.0 * @deprecated since 4.1, use {@link MultiValuedMap} instead */ http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/Trie.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/Trie.java b/src/main/java/org/apache/commons/collections4/Trie.java index 326b7e7..9183a7d 100644 --- a/src/main/java/org/apache/commons/collections4/Trie.java +++ b/src/main/java/org/apache/commons/collections4/Trie.java @@ -22,6 +22,8 @@ import java.util.SortedMap; * Defines the interface for a prefix tree, an ordered tree data structure. For * more information, see <a href="http://en.wikipedia.org/wiki/Trie">Tries</a>. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 4.0 */ public interface Trie<K, V> extends IterableSortedMap<K, V> { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/bidimap/AbstractBidiMapDecorator.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/bidimap/AbstractBidiMapDecorator.java b/src/main/java/org/apache/commons/collections4/bidimap/AbstractBidiMapDecorator.java index 14c151e..d0e62e7 100644 --- a/src/main/java/org/apache/commons/collections4/bidimap/AbstractBidiMapDecorator.java +++ b/src/main/java/org/apache/commons/collections4/bidimap/AbstractBidiMapDecorator.java @@ -34,6 +34,8 @@ import org.apache.commons.collections4.map.AbstractMapDecorator; * it would provide a loophole around the validation. * But, you might want that loophole, so this class is kept simple. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public abstract class AbstractBidiMapDecorator<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/bidimap/AbstractOrderedBidiMapDecorator.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/bidimap/AbstractOrderedBidiMapDecorator.java b/src/main/java/org/apache/commons/collections4/bidimap/AbstractOrderedBidiMapDecorator.java index 15b005e..e98f935 100644 --- a/src/main/java/org/apache/commons/collections4/bidimap/AbstractOrderedBidiMapDecorator.java +++ b/src/main/java/org/apache/commons/collections4/bidimap/AbstractOrderedBidiMapDecorator.java @@ -31,6 +31,8 @@ import org.apache.commons.collections4.OrderedMapIterator; * it would provide a loophole around the validation. * But, you might want that loophole, so this class is kept simple. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public abstract class AbstractOrderedBidiMapDecorator<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/bidimap/AbstractSortedBidiMapDecorator.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/bidimap/AbstractSortedBidiMapDecorator.java b/src/main/java/org/apache/commons/collections4/bidimap/AbstractSortedBidiMapDecorator.java index 88b148b..616ca44 100644 --- a/src/main/java/org/apache/commons/collections4/bidimap/AbstractSortedBidiMapDecorator.java +++ b/src/main/java/org/apache/commons/collections4/bidimap/AbstractSortedBidiMapDecorator.java @@ -33,6 +33,8 @@ import org.apache.commons.collections4.SortedBidiMap; * it would provide a loophole around the validation. * But, you might want that loophole, so this class is kept simple. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public abstract class AbstractSortedBidiMapDecorator<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java b/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java index 18f8dfe..0792f60 100644 --- a/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java +++ b/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java @@ -49,6 +49,8 @@ import org.apache.commons.collections4.map.AbstractSortedMapDecorator; * NOTE: From Commons Collections 3.1, all subclasses will use {@link TreeMap} * and the flawed <code>createMap</code> method is ignored. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class DualTreeBidiMap<K, V> extends AbstractDualBidiMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java b/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java index 5622cc1..b997c3b 100644 --- a/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java +++ b/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java @@ -72,6 +72,9 @@ import org.apache.commons.collections4.keyvalue.UnmodifiableMapEntry; * not allow setValue() and will throw an * UnsupportedOperationException on attempts to call that method. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map + * * @since 3.0 (previously DoubleOrderedMap v2.0) */ public class TreeBidiMap<K extends Comparable<K>, V extends Comparable<V>> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableBidiMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableBidiMap.java b/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableBidiMap.java index 4f9052e..500c6e1 100644 --- a/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableBidiMap.java +++ b/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableBidiMap.java @@ -31,6 +31,8 @@ import org.apache.commons.collections4.set.UnmodifiableSet; * <p> * Attempts to modify it will result in an UnsupportedOperationException. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public final class UnmodifiableBidiMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableOrderedBidiMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableOrderedBidiMap.java b/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableOrderedBidiMap.java index a7d2d70..208844c 100644 --- a/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableOrderedBidiMap.java +++ b/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableOrderedBidiMap.java @@ -31,6 +31,8 @@ import org.apache.commons.collections4.set.UnmodifiableSet; * <p> * Attempts to modify it will result in an UnsupportedOperationException. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public final class UnmodifiableOrderedBidiMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableSortedBidiMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableSortedBidiMap.java b/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableSortedBidiMap.java index 39389d2..4cff22b 100644 --- a/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableSortedBidiMap.java +++ b/src/main/java/org/apache/commons/collections4/bidimap/UnmodifiableSortedBidiMap.java @@ -33,6 +33,8 @@ import org.apache.commons.collections4.set.UnmodifiableSet; * <p> * Attempts to modify it will result in an {@link UnsupportedOperationException}. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public final class UnmodifiableSortedBidiMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/collection/UnmodifiableBoundedCollection.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/collection/UnmodifiableBoundedCollection.java b/src/main/java/org/apache/commons/collections4/collection/UnmodifiableBoundedCollection.java index 2d298ff..837c1ee 100644 --- a/src/main/java/org/apache/commons/collections4/collection/UnmodifiableBoundedCollection.java +++ b/src/main/java/org/apache/commons/collections4/collection/UnmodifiableBoundedCollection.java @@ -37,6 +37,7 @@ import org.apache.commons.collections4.iterators.UnmodifiableIterator; * <p> * Attempts to modify it will result in an UnsupportedOperationException. * + * @param <E> the type of elements in this collection * @since 3.0 */ public final class UnmodifiableBoundedCollection<E> extends AbstractCollectionDecorator<E> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/list/FixedSizeList.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/list/FixedSizeList.java b/src/main/java/org/apache/commons/collections4/list/FixedSizeList.java index 56fda3a..6e087a9 100644 --- a/src/main/java/org/apache/commons/collections4/list/FixedSizeList.java +++ b/src/main/java/org/apache/commons/collections4/list/FixedSizeList.java @@ -33,6 +33,7 @@ import org.apache.commons.collections4.iterators.UnmodifiableIterator; * <p> * This class is Serializable from Commons Collections 3.1. * + * @param <E> the type of elements in this collection * @since 3.0 */ public class FixedSizeList<E> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java b/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java index 1b91f39..0e4b156 100644 --- a/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java @@ -52,6 +52,8 @@ import org.apache.commons.collections4.iterators.EmptyMapIterator; * This is to provide backwards compatibility for ReferenceMap between v3.0 and v3.1. * This extends clause will be removed in v5.0. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class AbstractHashedMap<K, V> extends AbstractMap<K, V> implements IterableMap<K, V> { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/AbstractIterableMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/AbstractIterableMap.java b/src/main/java/org/apache/commons/collections4/map/AbstractIterableMap.java index 2fd1739..6dcf1a5 100644 --- a/src/main/java/org/apache/commons/collections4/map/AbstractIterableMap.java +++ b/src/main/java/org/apache/commons/collections4/map/AbstractIterableMap.java @@ -22,6 +22,8 @@ import org.apache.commons.collections4.MapIterator; /** * Provide a basic {@link IterableMap} implementation. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 4.0 */ public abstract class AbstractIterableMap<K, V> implements IterableMap<K, V> { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/AbstractLinkedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/AbstractLinkedMap.java b/src/main/java/org/apache/commons/collections4/map/AbstractLinkedMap.java index 1595a08..670925c 100644 --- a/src/main/java/org/apache/commons/collections4/map/AbstractLinkedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/AbstractLinkedMap.java @@ -56,6 +56,8 @@ import org.apache.commons.collections4.iterators.EmptyOrderedMapIterator; * The implementation is also designed to be subclassed, with lots of useful * methods exposed. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public abstract class AbstractLinkedMap<K, V> extends AbstractHashedMap<K, V> implements OrderedMap<K, V> { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/AbstractOrderedMapDecorator.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/AbstractOrderedMapDecorator.java b/src/main/java/org/apache/commons/collections4/map/AbstractOrderedMapDecorator.java index 568c1bc..51a44f0 100644 --- a/src/main/java/org/apache/commons/collections4/map/AbstractOrderedMapDecorator.java +++ b/src/main/java/org/apache/commons/collections4/map/AbstractOrderedMapDecorator.java @@ -31,6 +31,8 @@ import org.apache.commons.collections4.OrderedMapIterator; * it would provide a loophole around the validation. * But, you might want that loophole, so this class is kept simple. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public abstract class AbstractOrderedMapDecorator<K, V> extends AbstractMapDecorator<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java b/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java index 82ac7e3..1287413 100644 --- a/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java +++ b/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java @@ -75,6 +75,9 @@ import org.apache.commons.collections4.keyvalue.DefaultMapEntry; * You can use {@link java.util.Collections#synchronizedMap} to * provide synchronized access to a <code>ReferenceMap</code>. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map + * * @see java.lang.ref.Reference * @since 3.1 (extracted from ReferenceMap in 3.0) */ http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/CaseInsensitiveMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/CaseInsensitiveMap.java b/src/main/java/org/apache/commons/collections4/map/CaseInsensitiveMap.java index 334016c..8eebc62 100644 --- a/src/main/java/org/apache/commons/collections4/map/CaseInsensitiveMap.java +++ b/src/main/java/org/apache/commons/collections4/map/CaseInsensitiveMap.java @@ -59,6 +59,8 @@ import java.util.Map; * exceptions when accessed by concurrent threads without synchronization. * </p> * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class CaseInsensitiveMap<K, V> extends AbstractHashedMap<K, V> implements Serializable, Cloneable { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/CompositeMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/CompositeMap.java b/src/main/java/org/apache/commons/collections4/map/CompositeMap.java index df19db9..96710e2 100644 --- a/src/main/java/org/apache/commons/collections4/map/CompositeMap.java +++ b/src/main/java/org/apache/commons/collections4/map/CompositeMap.java @@ -39,6 +39,8 @@ import org.apache.commons.collections4.collection.CompositeCollection; * using {@link java.util.Collections#synchronizedMap(Map)}. This class may throw * exceptions when accessed by concurrent threads without synchronization. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class CompositeMap<K, V> extends AbstractIterableMap<K, V> implements Serializable { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java b/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java index 89b4b77..a9a23b1 100644 --- a/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java @@ -56,8 +56,10 @@ import org.apache.commons.collections4.functors.FactoryTransformer; * using {@link java.util.Collections#synchronizedMap(Map)}. This class may throw * exceptions when accessed by concurrent threads without synchronization. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map + * * @since 3.2 - * * @see LazyMap */ public class DefaultedMap<K, V> extends AbstractMapDecorator<K, V> implements Serializable { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/FixedSizeMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/FixedSizeMap.java b/src/main/java/org/apache/commons/collections4/map/FixedSizeMap.java index 7322d12..a29e89c 100644 --- a/src/main/java/org/apache/commons/collections4/map/FixedSizeMap.java +++ b/src/main/java/org/apache/commons/collections4/map/FixedSizeMap.java @@ -49,6 +49,8 @@ import org.apache.commons.collections4.set.UnmodifiableSet; * <p> * This class is Serializable from Commons Collections 3.1. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class FixedSizeMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/FixedSizeSortedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/FixedSizeSortedMap.java b/src/main/java/org/apache/commons/collections4/map/FixedSizeSortedMap.java index 9b7c06e..66fec4c 100644 --- a/src/main/java/org/apache/commons/collections4/map/FixedSizeSortedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/FixedSizeSortedMap.java @@ -51,6 +51,8 @@ import org.apache.commons.collections4.set.UnmodifiableSet; * <p> * This class is Serializable from Commons Collections 3.1. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class FixedSizeSortedMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/Flat3Map.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/Flat3Map.java b/src/main/java/org/apache/commons/collections4/map/Flat3Map.java index c93e601..aded125 100644 --- a/src/main/java/org/apache/commons/collections4/map/Flat3Map.java +++ b/src/main/java/org/apache/commons/collections4/map/Flat3Map.java @@ -67,6 +67,8 @@ import org.apache.commons.collections4.iterators.EmptyMapIterator; * using {@link java.util.Collections#synchronizedMap(Map)}. This class may throw * exceptions when accessed by concurrent threads without synchronization. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class Flat3Map<K, V> implements IterableMap<K, V>, Serializable, Cloneable { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/HashedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/HashedMap.java b/src/main/java/org/apache/commons/collections4/map/HashedMap.java index 06353e4..fb8143e 100644 --- a/src/main/java/org/apache/commons/collections4/map/HashedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/HashedMap.java @@ -36,6 +36,8 @@ import java.util.Map; * using {@link java.util.Collections#synchronizedMap(Map)}. This class may throw * exceptions when accessed by concurrent threads without synchronization. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class HashedMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/LRUMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/LRUMap.java b/src/main/java/org/apache/commons/collections4/map/LRUMap.java index d03754a..fde0359 100644 --- a/src/main/java/org/apache/commons/collections4/map/LRUMap.java +++ b/src/main/java/org/apache/commons/collections4/map/LRUMap.java @@ -54,6 +54,8 @@ import org.apache.commons.collections4.BoundedMap; * using {@link java.util.Collections#synchronizedMap(Map)}. This class may throw * <code>NullPointerException</code>'s when accessed by concurrent threads. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 (previously in main package v1.0) */ public class LRUMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/LazyMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/LazyMap.java b/src/main/java/org/apache/commons/collections4/map/LazyMap.java index 51d933b..82cbdb9 100644 --- a/src/main/java/org/apache/commons/collections4/map/LazyMap.java +++ b/src/main/java/org/apache/commons/collections4/map/LazyMap.java @@ -56,6 +56,8 @@ import org.apache.commons.collections4.functors.FactoryTransformer; * <p> * This class is Serializable from Commons Collections 3.1. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class LazyMap<K, V> extends AbstractMapDecorator<K, V> implements Serializable { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/LazySortedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/LazySortedMap.java b/src/main/java/org/apache/commons/collections4/map/LazySortedMap.java index a706c1b..30dee1f 100644 --- a/src/main/java/org/apache/commons/collections4/map/LazySortedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/LazySortedMap.java @@ -53,6 +53,8 @@ import org.apache.commons.collections4.Transformer; * <p> * This class is Serializable from Commons Collections 3.1. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class LazySortedMap<K,V> extends LazyMap<K,V> implements SortedMap<K,V> { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/LinkedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/LinkedMap.java b/src/main/java/org/apache/commons/collections4/map/LinkedMap.java index 3e73b77..5454bc8 100644 --- a/src/main/java/org/apache/commons/collections4/map/LinkedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/LinkedMap.java @@ -57,6 +57,8 @@ import org.apache.commons.collections4.list.UnmodifiableList; * using {@link java.util.Collections#synchronizedMap(Map)}. This class may throw * exceptions when accessed by concurrent threads without synchronization. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class LinkedMap<K, V> extends AbstractLinkedMap<K, V> implements Serializable, Cloneable { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/ListOrderedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/ListOrderedMap.java b/src/main/java/org/apache/commons/collections4/map/ListOrderedMap.java index 34bd0bd..6dd9d79 100644 --- a/src/main/java/org/apache/commons/collections4/map/ListOrderedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/ListOrderedMap.java @@ -72,6 +72,8 @@ import org.apache.commons.collections4.list.UnmodifiableList; * <p> * This class is {@link Serializable} starting with Commons Collections 3.1. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class ListOrderedMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java b/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java index 960a3ba..1a0a769 100644 --- a/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java +++ b/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java @@ -71,6 +71,8 @@ import org.apache.commons.collections4.keyvalue.MultiKey; * appropriate synchronization. This class may throw exceptions when accessed * by concurrent threads without synchronization. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.1 */ public class MultiKeyMap<K, V> extends AbstractMapDecorator<MultiKey<? extends K>, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/MultiValueMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/MultiValueMap.java b/src/main/java/org/apache/commons/collections4/map/MultiValueMap.java index a929006..f500bfa 100644 --- a/src/main/java/org/apache/commons/collections4/map/MultiValueMap.java +++ b/src/main/java/org/apache/commons/collections4/map/MultiValueMap.java @@ -59,6 +59,8 @@ import org.apache.commons.collections4.iterators.TransformIterator; * appropriate synchronization. This class may throw exceptions when accessed * by concurrent threads without synchronization. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.2 * @deprecated since 4.1, use {@link org.apache.commons.collections4.MultiValuedMap MultiValuedMap} instead */ http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java b/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java index 32d2af0..91d0dfa 100644 --- a/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java +++ b/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java @@ -55,8 +55,8 @@ import java.util.concurrent.TimeUnit; * synchronization. * </p> * - * @param <K> the type of the keys in the map - * @param <V> the type of the values in the map + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 4.0 */ public class PassiveExpiringMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/PredicatedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/PredicatedMap.java b/src/main/java/org/apache/commons/collections4/map/PredicatedMap.java index abcd11d..453249a 100644 --- a/src/main/java/org/apache/commons/collections4/map/PredicatedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/PredicatedMap.java @@ -44,6 +44,8 @@ import org.apache.commons.collections4.Predicate; * <p> * This class is Serializable from Commons Collections 3.1. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class PredicatedMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/PredicatedSortedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/PredicatedSortedMap.java b/src/main/java/org/apache/commons/collections4/map/PredicatedSortedMap.java index a2abd53..466846b 100644 --- a/src/main/java/org/apache/commons/collections4/map/PredicatedSortedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/PredicatedSortedMap.java @@ -45,6 +45,8 @@ import org.apache.commons.collections4.Predicate; * <p> * This class is Serializable from Commons Collections 3.1. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class PredicatedSortedMap<K, V> extends PredicatedMap<K, V> implements SortedMap<K, V> { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/ReferenceIdentityMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/ReferenceIdentityMap.java b/src/main/java/org/apache/commons/collections4/map/ReferenceIdentityMap.java index 270854d..79323ec 100644 --- a/src/main/java/org/apache/commons/collections4/map/ReferenceIdentityMap.java +++ b/src/main/java/org/apache/commons/collections4/map/ReferenceIdentityMap.java @@ -70,8 +70,10 @@ import java.lang.ref.Reference; * exceptions when accessed by concurrent threads without synchronization. * </p> * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map + * * @see java.lang.ref.Reference - * * @since 3.0 (previously in main package v2.1) */ public class ReferenceIdentityMap<K, V> extends AbstractReferenceMap<K, V> implements Serializable { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/SingletonMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/SingletonMap.java b/src/main/java/org/apache/commons/collections4/map/SingletonMap.java index 59fc615..8b0b654 100644 --- a/src/main/java/org/apache/commons/collections4/map/SingletonMap.java +++ b/src/main/java/org/apache/commons/collections4/map/SingletonMap.java @@ -53,6 +53,8 @@ import org.apache.commons.collections4.keyvalue.TiedMapEntry; * <li>the <code>KeyValue</code> interface (just cast - no object creation) * </ul> * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.1 */ public class SingletonMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/StaticBucketMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/StaticBucketMap.java b/src/main/java/org/apache/commons/collections4/map/StaticBucketMap.java index 9915bbd..e6399bc 100644 --- a/src/main/java/org/apache/commons/collections4/map/StaticBucketMap.java +++ b/src/main/java/org/apache/commons/collections4/map/StaticBucketMap.java @@ -90,6 +90,8 @@ import org.apache.commons.collections4.KeyValue; * iterations, or if you can make your own guarantees about how bulk * operations will affect the map.<p> * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 (previously in main package v2.1) */ public final class StaticBucketMap<K, V> extends AbstractIterableMap<K, V> { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/TransformedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/TransformedMap.java b/src/main/java/org/apache/commons/collections4/map/TransformedMap.java index fcd8287..4d8862a 100644 --- a/src/main/java/org/apache/commons/collections4/map/TransformedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/TransformedMap.java @@ -40,8 +40,11 @@ import org.apache.commons.collections4.Transformer; * <p> * This class is Serializable from Commons Collections 3.1. * <p> + * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map + * * @see org.apache.commons.collections4.splitmap.TransformedSplitMap - * * @since 3.0 */ public class TransformedMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/TransformedSortedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/TransformedSortedMap.java b/src/main/java/org/apache/commons/collections4/map/TransformedSortedMap.java index 34a0082..5168fe3 100644 --- a/src/main/java/org/apache/commons/collections4/map/TransformedSortedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/TransformedSortedMap.java @@ -38,6 +38,8 @@ import org.apache.commons.collections4.Transformer; * <p> * This class is Serializable from Commons Collections 3.1. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class TransformedSortedMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/UnmodifiableMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/UnmodifiableMap.java b/src/main/java/org/apache/commons/collections4/map/UnmodifiableMap.java index 02378b6..ec57f12 100644 --- a/src/main/java/org/apache/commons/collections4/map/UnmodifiableMap.java +++ b/src/main/java/org/apache/commons/collections4/map/UnmodifiableMap.java @@ -39,6 +39,8 @@ import org.apache.commons.collections4.set.UnmodifiableSet; * <p> * Attempts to modify it will result in an UnsupportedOperationException. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public final class UnmodifiableMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/UnmodifiableOrderedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/UnmodifiableOrderedMap.java b/src/main/java/org/apache/commons/collections4/map/UnmodifiableOrderedMap.java index d168603..6b3b43b 100644 --- a/src/main/java/org/apache/commons/collections4/map/UnmodifiableOrderedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/UnmodifiableOrderedMap.java @@ -38,6 +38,8 @@ import org.apache.commons.collections4.set.UnmodifiableSet; * <p> * Attempts to modify it will result in an UnsupportedOperationException. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public final class UnmodifiableOrderedMap<K, V> extends AbstractOrderedMapDecorator<K, V> implements http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/map/UnmodifiableSortedMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/map/UnmodifiableSortedMap.java b/src/main/java/org/apache/commons/collections4/map/UnmodifiableSortedMap.java index a49e856..0383796 100644 --- a/src/main/java/org/apache/commons/collections4/map/UnmodifiableSortedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/UnmodifiableSortedMap.java @@ -37,6 +37,8 @@ import org.apache.commons.collections4.set.UnmodifiableSet; * <p> * Attempts to modify it will result in an UnsupportedOperationException. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public final class UnmodifiableSortedMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java b/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java index 8beb531..b8bfe40 100644 --- a/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java +++ b/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java @@ -43,6 +43,7 @@ import org.apache.commons.collections4.BoundedCollection; * <p> * This queue prevents null objects from being added. * + * @param <E> the type of elements in this collection * @since 4.0 */ public class CircularFifoQueue<E> extends AbstractCollection<E> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/trie/AbstractBitwiseTrie.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/trie/AbstractBitwiseTrie.java b/src/main/java/org/apache/commons/collections4/trie/AbstractBitwiseTrie.java index 04f53fa..986c432 100644 --- a/src/main/java/org/apache/commons/collections4/trie/AbstractBitwiseTrie.java +++ b/src/main/java/org/apache/commons/collections4/trie/AbstractBitwiseTrie.java @@ -27,6 +27,8 @@ import org.apache.commons.collections4.Trie; * This class provides some basic {@link Trie} functionality and * utility methods for actual bitwise {@link Trie} implementations. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 4.0 */ public abstract class AbstractBitwiseTrie<K, V> extends AbstractMap<K, V> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/trie/PatriciaTrie.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/trie/PatriciaTrie.java b/src/main/java/org/apache/commons/collections4/trie/PatriciaTrie.java index 81ae5e9..b4e16fc 100644 --- a/src/main/java/org/apache/commons/collections4/trie/PatriciaTrie.java +++ b/src/main/java/org/apache/commons/collections4/trie/PatriciaTrie.java @@ -51,6 +51,8 @@ import org.apache.commons.collections4.trie.analyzer.StringKeyAnalyzer; * length & fixed length keys. Some methods, such as {@link #prefixMap(Object)} * are suited only to variable length keys. * + * @param <E> the type of the values in this map + * * @see <a href="http://en.wikipedia.org/wiki/Radix_tree">Radix Tree</a> * @see <a href="http://www.csse.monash.edu.au/~lloyd/tildeAlgDS/Tree/PATRICIA">PATRICIA</a> * @see <a href="http://www.imperialviolet.org/binary/critbit.pdf">Crit-Bit Tree</a> http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/main/java/org/apache/commons/collections4/trie/UnmodifiableTrie.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/collections4/trie/UnmodifiableTrie.java b/src/main/java/org/apache/commons/collections4/trie/UnmodifiableTrie.java index a18f7ef..d8041d4 100644 --- a/src/main/java/org/apache/commons/collections4/trie/UnmodifiableTrie.java +++ b/src/main/java/org/apache/commons/collections4/trie/UnmodifiableTrie.java @@ -32,6 +32,8 @@ import org.apache.commons.collections4.iterators.UnmodifiableOrderedMapIterator; /** * An unmodifiable {@link Trie}. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 4.0 */ public class UnmodifiableTrie<K, V> implements Trie<K, V>, Serializable, Unmodifiable { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/test/java/org/apache/commons/collections4/bidimap/AbstractOrderedBidiMapDecoratorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/collections4/bidimap/AbstractOrderedBidiMapDecoratorTest.java b/src/test/java/org/apache/commons/collections4/bidimap/AbstractOrderedBidiMapDecoratorTest.java index 9558a2c..c95c2bf 100644 --- a/src/test/java/org/apache/commons/collections4/bidimap/AbstractOrderedBidiMapDecoratorTest.java +++ b/src/test/java/org/apache/commons/collections4/bidimap/AbstractOrderedBidiMapDecoratorTest.java @@ -24,6 +24,8 @@ import org.apache.commons.collections4.OrderedBidiMap; /** * Test class for AbstractOrderedBidiMapDecorator. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map */ public class AbstractOrderedBidiMapDecoratorTest<K, V> extends AbstractOrderedBidiMapTest<K, V> { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/5d756ceb/src/test/java/org/apache/commons/collections4/map/IdentityMap.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/collections4/map/IdentityMap.java b/src/test/java/org/apache/commons/collections4/map/IdentityMap.java index c3ecb5b..8e83f5a 100644 --- a/src/test/java/org/apache/commons/collections4/map/IdentityMap.java +++ b/src/test/java/org/apache/commons/collections4/map/IdentityMap.java @@ -40,6 +40,8 @@ import java.util.Map; * From 4.0, this class is replaced by java.util.IdentityHashMap but kept as a * test-class because it is still used by the ReferenceIdentityMapTest. * + * @param <K> the type of the keys in this map + * @param <V> the type of the values in this map * @since 3.0 */ public class IdentityMap<K, V>