Uses of Interface
org.docx4j.com.google.common.base.Predicate

Packages that use Predicate
  • Uses of Predicate in org.docx4j.com.google.common.base

    Modifier and Type
    Method
    Description
    final Predicate<T>
    Equivalence.equivalentTo(@Nullable T target)
    Returns a predicate that evaluates to true if and only if the input is equivalent to target according to this equivalence relation.
  • Uses of Predicate in org.docx4j.com.google.common.collect

    Methods in org.docx4j.com.google.common.collect with parameters of type Predicate
    Modifier and Type
    Method
    Description
    static <T> boolean
    Iterators.all(Iterator<T> iterator, Predicate<? super T> predicate)
    Returns true if every element returned by iterator satisfies the given predicate.
    static <T> boolean
    Iterators.any(Iterator<T> iterator, Predicate<? super T> predicate)
    Returns true if one or more elements returned by iterator satisfy the given predicate.
    static <T> @Nullable T
    Iterators.find(Iterator<? extends T> iterator, Predicate<? super T> predicate, @Nullable T defaultValue)
    Returns the first element in iterator that satisfies the given predicate.
    static <T> T
    Iterators.find(Iterator<T> iterator, Predicate<? super T> predicate)
    Returns the first element in iterator that satisfies the given predicate; use this method only when such an element is known to exist.
    static <T> int
    Iterators.indexOf(Iterator<T> iterator, Predicate<? super T> predicate)
    Returns the index in iterator of the first element that satisfies the provided predicate, or -1 if the Iterator has no such elements.
    static <T> boolean
    Iterators.removeIf(Iterator<T> removeFrom, Predicate<? super T> predicate)
    Removes every element that satisfies the provided predicate from the iterator.