From a2dac490ece6f6a3a8dc7091c18318826f63a5ce Mon Sep 17 00:00:00 2001
From: Gary Gregory
Date: Mon, 24 Jun 2024 07:55:22 -0400
Subject: [PATCH] Javadoc
---
.../collections4/bloomfilter/LayerManager.java | 6 +++++-
.../collections4/list/AbstractLinkedList.java | 3 +++
.../collections4/map/AbstractLinkedMap.java | 17 +++++++++++++++++
.../collections4/trie/AbstractPatriciaTrie.java | 5 ++++-
.../map/AbstractIterableMapTest.java | 3 +++
.../collections4/map/AbstractMapTest.java | 6 ++++++
.../commons/collections4/map/IdentityMap.java | 5 ++++-
7 files changed, 42 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/LayerManager.java b/src/main/java/org/apache/commons/collections4/bloomfilter/LayerManager.java
index b1300136f6..574a92cfb0 100644
--- a/src/main/java/org/apache/commons/collections4/bloomfilter/LayerManager.java
+++ b/src/main/java/org/apache/commons/collections4/bloomfilter/LayerManager.java
@@ -49,12 +49,16 @@
* the {@code target} filter.
*
*
+ *
+ * @param the {@link BloomFilter} type.
* @since 4.5.0
*/
public class LayerManager implements BloomFilterExtractor {
/**
- * Builder to create Layer Manager
+ * Builder to create Layer Manager.
+ *
+ * @param the {@link BloomFilter} type.
*/
public static class Builder {
private Predicate> extendCheck;
diff --git a/src/main/java/org/apache/commons/collections4/list/AbstractLinkedList.java b/src/main/java/org/apache/commons/collections4/list/AbstractLinkedList.java
index 1d66a792fa..95b271c934 100644
--- a/src/main/java/org/apache/commons/collections4/list/AbstractLinkedList.java
+++ b/src/main/java/org/apache/commons/collections4/list/AbstractLinkedList.java
@@ -404,6 +404,9 @@ public void remove() {
*
* From Commons Collections 3.1, all access to the {@code value} property
* is via the methods on this class.
+ *
+ *
+ * @param The node value type.
*/
protected static class Node {
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 0a858ca79e..4c4cd71c9e 100644
--- a/src/main/java/org/apache/commons/collections4/map/AbstractLinkedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/AbstractLinkedMap.java
@@ -70,6 +70,9 @@ public abstract class AbstractLinkedMap extends AbstractHashedMap im
/**
* EntrySet iterator.
+ *
+ * @param the key type.
+ * @param the value type.
*/
protected static class EntrySetIterator extends LinkIterator implements
OrderedIterator>, ResettableIterator> {
@@ -91,6 +94,8 @@ public Map.Entry previous() {
/**
* KeySet iterator.
+ *
+ * @param the key type.
*/
protected static class KeySetIterator extends LinkIterator implements
OrderedIterator, ResettableIterator {
@@ -118,6 +123,10 @@ public K previous() {
* then you will not be able to access the protected fields.
* The {@code entryXxx()} methods on {@code AbstractLinkedMap} exist
* to provide the necessary access.
+ *
+ *
+ * @param the key type.
+ * @param the value type.
*/
protected static class LinkEntry extends HashEntry {
/** The entry before this one in the order */
@@ -140,6 +149,9 @@ protected LinkEntry(final HashEntry next, final int hashCode, final Object
/**
* Base Iterator that iterates in link order.
+ *
+ * @param the key type.
+ * @param the value type.
*/
protected abstract static class LinkIterator {
@@ -223,6 +235,9 @@ public String toString() {
/**
* MapIterator implementation.
+ *
+ * @param the key type.
+ * @param the value type.
*/
protected static class LinkMapIterator extends LinkIterator implements
OrderedMapIterator, ResettableIterator {
@@ -271,6 +286,8 @@ public V setValue(final V value) {
/**
* Values iterator.
+ *
+ * @param the value type.
*/
protected static class ValuesIterator extends LinkIterator