public class CoreImmutables extends Immutables
Immutables.Immutable, Immutables.ImmutableMapWrapperExternalizer
Constructor and Description |
---|
CoreImmutables() |
Modifier and Type | Method and Description |
---|---|
static InternalCacheEntry |
immutableInternalCacheEntry(InternalCacheEntry entry)
Wraps a
InternalCacheEntry } with an immutable InternalCacheEntry }. |
immutableCollectionCopy, immutableCollectionWrap, immutableEntry, immutableListConvert, immutableListCopy, immutableListMerge, immutableListWrap, immutableMapCopy, immutableMapWrap, immutableSetConvert, immutableSetCopy, immutableSetWrap, immutableTypedProperties, isImmutable
public static InternalCacheEntry immutableInternalCacheEntry(InternalCacheEntry 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 © 2014 JBoss, a division of Red Hat. All Rights Reserved.