com.atlassian.jira.util.collect
Class ClassMap.Impl

java.lang.Object
  extended by com.atlassian.jira.util.collect.ClassMap.Impl
All Implemented Interfaces:
ClassMap
Enclosing interface:
ClassMap

public static class ClassMap.Impl
extends Object
implements ClassMap


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.collect.ClassMap
ClassMap.Factory, ClassMap.Impl
 
Method Summary
<T> T
get(Class<T> klass)
           
 Collection<? extends Class<?>> keySet()
           
<T> void
put(Class<T> klass, T instance)
           
<T> void
put(T instance)
           
 Collection<? extends Object> values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

put

public <T> void put(T instance)
Specified by:
put in interface ClassMap

put

public <T> void put(Class<T> klass,
                    T instance)
Specified by:
put in interface ClassMap

keySet

public Collection<? extends Class<?>> keySet()
Specified by:
keySet in interface ClassMap

values

public Collection<? extends Object> values()
Specified by:
values in interface ClassMap

get

public <T> T get(Class<T> klass)
Specified by:
get in interface ClassMap


Copyright © 2002-2014 Atlassian. All Rights Reserved.