Skip to content

Commit 022030c

Browse files
committed
Javadoc
1 parent 79a7618 commit 022030c

File tree

8 files changed

+57
-1
lines changed

8 files changed

+57
-1
lines changed

src/main/java/org/apache/commons/collections4/SetUtils.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ public class SetUtils {
6161
*/
6262
public abstract static class SetView<E> extends AbstractSet<E> {
6363

64+
/**
65+
* Constructs a new instance.
66+
*/
67+
public SetView() {
68+
// empty
69+
}
70+
6471
/**
6572
* Copies the contents of this view into the provided set.
6673
*

src/main/java/org/apache/commons/collections4/functors/AbstractPredicate.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
*/
2727
public abstract class AbstractPredicate<T> implements Predicate<T> {
2828

29+
/**
30+
* Constructs a new instance.
31+
*/
32+
public AbstractPredicate() {
33+
// empty
34+
}
35+
2936
@Override
3037
public boolean evaluate(final T object) {
3138
return test(object);

src/main/java/org/apache/commons/collections4/functors/CatchAndRethrowClosure.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@
4848
*/
4949
public abstract class CatchAndRethrowClosure<T> implements Closure<T> {
5050

51+
/**
52+
* Constructs a new instance.
53+
*/
54+
public CatchAndRethrowClosure() {
55+
// empty
56+
}
57+
5158
/**
5259
* Execute this closure on the specified input object.
5360
*

src/main/java/org/apache/commons/collections4/iterators/LazyIteratorChain.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ public abstract class LazyIteratorChain<E> implements Iterator<E> {
6767
*/
6868
private Iterator<? extends E> lastUsedIterator;
6969

70+
/**
71+
* Constructs a new instance.
72+
*/
73+
public LazyIteratorChain() {
74+
// empty
75+
}
76+
7077
/**
7178
* Return true if any Iterator in the chain has a remaining element.
7279
*

src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,13 @@ public static class Builder<K, V> implements Supplier<ConcurrentReferenceHashMap
155155
@SuppressWarnings("unchecked")
156156
private Map<? extends K, ? extends V> sourceMap = (Map<? extends K, ? extends V>) DEFAULT_SOURCE_MAP;
157157

158+
/**
159+
* Constructs a new instances of {@link ConcurrentReferenceHashMap}.
160+
*/
161+
public Builder() {
162+
// empty
163+
}
164+
158165
/**
159166
* Builds a new {@link ConcurrentReferenceHashMap}.
160167
* <p>

src/main/java/org/apache/commons/collections4/multiset/AbstractMultiSet.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ public abstract class AbstractMultiSet<E> extends AbstractCollection<E> implemen
4646
*/
4747
protected abstract static class AbstractEntry<E> implements Entry<E> {
4848

49+
/**
50+
* Constructs a new instance.
51+
*/
52+
public AbstractEntry() {
53+
// empty
54+
}
55+
4956
@Override
5057
public boolean equals(final Object object) {
5158
if (object instanceof Entry) {
@@ -240,7 +247,7 @@ public int size() {
240247
private transient Set<Entry<E>> entrySet;
241248

242249
/**
243-
* Constructor needed for subclass serialization.
250+
* Constructs a new instance subclasses.
244251
*/
245252
protected AbstractMultiSet() {
246253
}

src/main/java/org/apache/commons/collections4/properties/OrderedProperties.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ public class OrderedProperties extends Properties {
4848
*/
4949
private final LinkedHashSet<Object> orderedKeys = new LinkedHashSet<>();
5050

51+
/**
52+
* Constructs a new instance.
53+
*/
54+
public OrderedProperties() {
55+
// empty
56+
}
57+
5158
@Override
5259
public synchronized void clear() {
5360
orderedKeys.clear();

src/main/java/org/apache/commons/collections4/trie/KeyAnalyzer.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ static boolean isValidBitIndex(final int bitIndex) {
8484
return bitIndex >= 0;
8585
}
8686

87+
/**
88+
* Constructs a new instance.
89+
*/
90+
public KeyAnalyzer() {
91+
// empty
92+
}
93+
8794
/**
8895
* Returns the n-th different bit between key and other. This starts the comparison in
8996
* key at 'offsetInBits' and goes for 'lengthInBits' bits, and compares to the other key starting

0 commit comments

Comments
 (0)