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

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

    Methods in org.docx4j.com.google.common.base that return Predicate 
    Modifier and Type Method Description
    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​(java.util.Iterator<T> iterator, Predicate<? super T> predicate)
    Returns true if every element returned by iterator satisfies the given predicate.
    static <T> boolean Iterators.any​(java.util.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​(java.util.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​(java.util.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​(java.util.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​(java.util.Iterator<T> removeFrom, Predicate<? super T> predicate)
    Removes every element that satisfies the provided predicate from the iterator.