public class ParsingCache<E> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected net.openhft.chronicle.core.pool.ParsingCache.ParsedData<E>[] |
interner |
protected int |
mask |
protected int |
shift |
protected boolean |
toggle |
| Constructor and Description |
|---|
ParsingCache(int capacity,
Function<String,E> eFunction) |
| Modifier and Type | Method and Description |
|---|---|
E |
intern(CharSequence cs) |
protected boolean |
toggle() |
int |
valueCount() |
@NotNull protected final net.openhft.chronicle.core.pool.ParsingCache.ParsedData<E>[] interner
protected final int mask
protected final int shift
protected boolean toggle
public ParsingCache(int capacity,
Function<String,E> eFunction)
throws IllegalArgumentException
IllegalArgumentException@Nullable public E intern(@Nullable CharSequence cs)
protected boolean toggle()
public int valueCount()
Copyright © 2019. All rights reserved.