org.gridkit.jvmtool.event
Class SimpleTagCollection
java.lang.Object
org.gridkit.jvmtool.event.SimpleTagCollection
- All Implemented Interfaces:
- Iterable<String>, TagCollection
public class SimpleTagCollection
- extends Object
- implements TagCollection
SimpleTagCollection
public SimpleTagCollection()
SimpleTagCollection
public SimpleTagCollection(TagCollection that)
SimpleTagCollection
protected SimpleTagCollection(Iterable<org.gridkit.jvmtool.event.SimpleTagCollection.Tag> tags)
iterator
public Iterator<String> iterator()
- Specified by:
iterator in interface Iterable<String>
tagsFor
public Iterable<String> tagsFor(String key)
- Specified by:
tagsFor in interface TagCollection
firstTagFor
public String firstTagFor(String key)
- Specified by:
firstTagFor in interface TagCollection
contains
public boolean contains(String key,
String tag)
- Specified by:
contains in interface TagCollection
clone
public SimpleTagCollection clone()
- Specified by:
clone in interface TagCollection- Overrides:
clone in class Object
put
public void put(String key,
String tag)
putAll
public void putAll(TagCollection that)
remove
public void remove(String key)
remove
public void remove(String key,
String tag)
clear
public void clear()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2019. All Rights Reserved.