protected static class TypeCache.StorageKey extends WeakReference<ClassLoader>
Modifier | Constructor and Description |
---|---|
protected |
StorageKey(ClassLoader classLoader,
ReferenceQueue<? super ClassLoader> referenceQueue)
Creates a new storage key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
protected StorageKey(@MaybeNull ClassLoader classLoader, ReferenceQueue<? super ClassLoader> referenceQueue)
classLoader
- The represented class loader or null
for the bootstrap loader.referenceQueue
- The reference queue to notify upon a garbage collection.Copyright © 2014–2025. All rights reserved.