Package org.glassfish.pfl.test
Class ObjectUtility.ClassMap
java.lang.Object
org.glassfish.pfl.test.ObjectUtility.ClassMap
- Enclosing class:
ObjectUtility
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
data
ArrayList data
-
-
Constructor Details
-
ClassMap
public ClassMap()
-
-
Method Details
-
get
Return the first element of the ClassMap that is assignable to cls. The order is determined by the order in which the put method was called. Returns null if there is no match. -
put
Add obj to the map with key cls. Note that order matters, as the first match is returned.
-