org.apache.accumulo.core.util
Class MapCounter<KT>

java.lang.Object
  extended by org.apache.accumulo.core.util.MapCounter<KT>

public class MapCounter<KT>
extends Object


Constructor Summary
MapCounter()
           
 
Method Summary
 boolean contains(KT key)
           
 long decrement(KT key, long l)
           
 long get(KT key)
           
 long increment(KT key, long l)
           
 Set<KT> keySet()
           
 int size()
           
 Collection<Long> values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapCounter

public MapCounter()
Method Detail

increment

public long increment(KT key,
                      long l)

decrement

public long decrement(KT key,
                      long l)

contains

public boolean contains(KT key)

get

public long get(KT key)

keySet

public Set<KT> keySet()

values

public Collection<Long> values()

size

public int size()


Copyright © 2015 Apache Accumulo Project. All rights reserved.