| Package | Description |
|---|---|
| com.prosysopc.ua |
Common classes for client and server side.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> InternalWeakInternedCache<T> |
InternalWeakInternedCache.forIdentityEqualsObjects(InternalWeakInternedCache.EqualsExtractor<T> equalsExtractor)
Creates a new cache for objects that do use just identity check for their equals
implementation.
|
static <T> InternalWeakInternedCache<T> |
InternalWeakInternedCache.forNonIdentityEqualsObjects()
Creates a new cache for objects that do not use "identity-equals" that is to say, equals
implementation shall not be just == check on the object, but instead must work for multiple
"same" objects, and the cache ensures only a single one of them is returned, but multiple
instances that are the same can be given to the
intern(Object) method. |
Copyright © 2026. All rights reserved.