org.gridkit.jvmtool.event
Class SimpleCounterCollection
java.lang.Object
org.gridkit.jvmtool.event.SimpleCounterCollection
- All Implemented Interfaces:
- Iterable<String>, CounterCollection
public class SimpleCounterCollection
- extends Object
- implements CounterCollection
SimpleCounterCollection
public SimpleCounterCollection()
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.