org.apache.tinkerpop.gremlin.util.function

## Class ConstantSupplier<A>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.util.function.ConstantSupplier<A>

- All Implemented Interfaces:
    Serializable, Supplier<A>

      public final class ConstantSupplier<A>
      extends Object
      implements Supplier<A>, Serializable

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConstantSupplier(A a)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `A` | `get()`

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

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

- - ### Constructor Detail

    - #### ConstantSupplier

          public ConstantSupplier(A a)

  - ### Method Detail

    - #### get

          public A get()

      Specified by:
        `get` in interface `Supplier<A>`

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