public class CoreImmutables extends Immutables
Immutables.Immutable, Immutables.ImmutableIteratorWrapper<E>, Immutables.ImmutableMapWrapperExternalizer, Immutables.ImmutableSetWrapperExternalizer| Constructor and Description |
|---|
CoreImmutables() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> InternalCacheEntry<K,V> |
immutableInternalCacheEntry(InternalCacheEntry<K,V> entry)
Wraps a
InternalCacheEntry} with an immutable InternalCacheEntry}. |
immutableCollectionCopy, immutableCollectionWrap, immutableEntry, immutableEntry, immutableListAdd, immutableListConvert, immutableListCopy, immutableListMerge, immutableListRemove, immutableListReplace, immutableListWrap, immutableMapCopy, immutableMapWrap, immutableSetConvert, immutableSetCopy, immutableSetWrap, immutableTypedProperties, isImmutablepublic static <K,V> InternalCacheEntry<K,V> immutableInternalCacheEntry(InternalCacheEntry<K,V> entry)
InternalCacheEntry} with an immutable InternalCacheEntry}. There is no copying involved.entry - the internal cache entry to wrap.InternalCacheEntry} wrapper that delegates to the original entry.Copyright © 2022 JBoss by Red Hat. All rights reserved.