org.apache.tinkerpop.gremlin.spark.process.computer

## Class MemoryAccumulator<A>

- java.lang.Object
- - <any>
  - - org.apache.tinkerpop.gremlin.spark.process.computer.MemoryAccumulator<A>

-     public final class MemoryAccumulator<A>
      extends <any>

  Author:
    Marko A. Rodriguez (http://markorodriguez.com), Stephen Mallette (http://stephen.genoprime.com)

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(ObjectWritable<A> v)`
    `<any>` | `copy()`
    `boolean` | `isZero()`
    `void` | `merge(<any> other)`
    `void` | `reset()`
    `ObjectWritable<A>` | `value()`

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

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

- - ### Method Detail

    - #### isZero

          public boolean isZero()

    - #### copy

          public <any> copy()

    - #### reset

          public void reset()

    - #### add

          public void add(ObjectWritable<A> v)

    - #### merge

          public void merge(<any> other)

    - #### value

          public ObjectWritable<A> value()

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