org.gridkit.jvmtool.event
Class SimpleCounterCollection

java.lang.Object
  extended by org.gridkit.jvmtool.event.SimpleCounterCollection
All Implemented Interfaces:
Iterable<String>, CounterCollection

public class SimpleCounterCollection
extends Object
implements CounterCollection


Constructor Summary
SimpleCounterCollection()
           
 
Method Summary
 void clear()
           
 SimpleCounterCollection clone()
           
 long getValue(String key)
           
 Iterator<String> iterator()
           
 void set(String key, long value)
           
 void setAll(CounterCollection that)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleCounterCollection

public SimpleCounterCollection()
Method Detail

iterator

public Iterator<String> iterator()
Specified by:
iterator in interface Iterable<String>

getValue

public long getValue(String key)
Specified by:
getValue in interface CounterCollection

set

public void set(String key,
                long value)

setAll

public void setAll(CounterCollection that)

clone

public SimpleCounterCollection clone()
Specified by:
clone in interface CounterCollection
Overrides:
clone in class Object

clear

public void clear()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2019. All Rights Reserved.