Sets the Cache to be used as the default for the specified class by future Lookups. @param cache The default cache for the specified class. @param dclass The class whose cache is being set.
(Cache cache, int dclass)
| 139 | * @param dclass The class whose cache is being set. |
| 140 | */ |
| 141 | public static synchronized void |
| 142 | setDefaultCache(Cache cache, int dclass) { |
| 143 | DClass.check(dclass); |
| 144 | defaultCaches.put(Mnemonic.toInteger(dclass), cache); |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Gets the search path that will be used as the default by future Lookups. |