Javadoc: Close HTML tags
This commit is contained in:
parent
78648c4404
commit
1448ec3d44
|
@ -46,6 +46,7 @@ public final class AllPredicate<T> extends AbstractQuantifierPredicate<T> {
|
|||
* <p>
|
||||
* If the collection is size zero, the predicate always returns true.
|
||||
* If the collection is size one, then that predicate is returned.
|
||||
* </p>
|
||||
*
|
||||
* @param <T> the type that the predicate queries
|
||||
* @param predicates the predicates to check, cloned, not null
|
||||
|
@ -69,6 +70,7 @@ public final class AllPredicate<T> extends AbstractQuantifierPredicate<T> {
|
|||
* <p>
|
||||
* If the array is size zero, the predicate always returns true.
|
||||
* If the array is size one, then that predicate is returned.
|
||||
* </p>
|
||||
*
|
||||
* @param <T> the type that the predicate queries
|
||||
* @param predicates the predicates to check, cloned, not null
|
||||
|
|
|
@ -26,7 +26,9 @@ import java.util.Arrays;
|
|||
import java.util.Collection;
|
||||
|
||||
import org.apache.commons.collections4.Bag;
|
||||
import org.apache.commons.collections4.Predicate;
|
||||
import org.apache.commons.collections4.collection.AbstractCollectionTest;
|
||||
import org.apache.commons.collections4.functors.NonePredicate;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
/**
|
||||
|
@ -37,6 +39,14 @@ import org.junit.jupiter.api.Test;
|
|||
*/
|
||||
public class CollectionBagTest<T> extends AbstractCollectionTest<T> {
|
||||
|
||||
@Test
|
||||
public void testAdd_Always() throws Throwable {
|
||||
TreeBag<Predicate<Object>> treeBagOfPredicateOfObject = new TreeBag<>();
|
||||
CollectionBag<Predicate<Object>> collectionBagOfPredicateOfObject = new CollectionBag<>(treeBagOfPredicateOfObject);
|
||||
Predicate<Object> predicate0 = NonePredicate.nonePredicate(collectionBagOfPredicateOfObject);
|
||||
collectionBagOfPredicateOfObject.add(predicate0, 24);
|
||||
}
|
||||
|
||||
/**
|
||||
* JUnit constructor.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue