public static class SQLightable.ReflectionMap extends java.util.HashMap<java.lang.Class<? extends SQLightable>,SQLightable.Reflection<? extends SQLightable>>
SQLightable.Reflection
instances.Constructor and Description |
---|
ReflectionMap() |
Modifier and Type | Method and Description |
---|---|
<SC extends SQLightable> |
get(java.lang.Class<SC> cls)
As
Map.get(Object) , but forces a cast on the
SQLightable.Reflection object that is returned from the map. |
<SC extends SQLightable> |
put(java.lang.Class<SC> cls)
As
Map.put(Object,Object) , but since we can obtain the
SQLightable.Reflection instance on-the-fly, it is not required. |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public <SC extends SQLightable> SQLightable.Reflection<SC> get(java.lang.Class<SC> cls)
Map.get(Object)
, but forces a cast on the
SQLightable.Reflection
object that is returned from the map. This cast is
made unchecked; it is up to the consumer to ensure that the types
match.SC
- the schematic classcls
- the schematic classpublic <SC extends SQLightable> SQLightable.Reflection<SC> put(java.lang.Class<SC> cls)
Map.put(Object,Object)
, but since we can obtain the
SQLightable.Reflection
instance on-the-fly, it is not required.SC
- the schematic classcls
- the schematic class