org.apache.tinkerpop.gremlin.process.traversal.lambda

## Class PredicateTraverser<A>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.traversal.lambda.PredicateTraverser<A>

- All Implemented Interfaces:
    Serializable, Predicate<Traverser<A>>

      public final class PredicateTraverser<A>
      extends Object
      implements Predicate<Traverser<A>>, Serializable

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PredicateTraverser(Predicate<A> predicate)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `test(Traverser<A> traverser)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.util.function.Predicate

      `and, isEqual, negate, or`

- - ### Constructor Detail

    - #### PredicateTraverser

          public PredicateTraverser(Predicate<A> predicate)

  - ### Method Detail

    - #### test

          public boolean test(Traverser<A> traverser)

      Specified by:
        `test` in interface `Predicate<Traverser<A>>`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2013–2021 Apache Software Foundation. All rights reserved.