public static final class SimpleString.StringSimpleStringPool extends AbstractPool<String,SimpleString>
DEFAULT_POOL_CAPACITY
Constructor and Description |
---|
StringSimpleStringPool() |
StringSimpleStringPool(int capacity) |
Modifier and Type | Method and Description |
---|---|
protected SimpleString |
create(String value)
Create a new entry.
|
protected boolean |
isEqual(SimpleString entry,
String value)
Returns
true if the entry content is equal to value ; |
getOrCreate, hashCode
public StringSimpleStringPool()
public StringSimpleStringPool(int capacity)
protected SimpleString create(String value)
AbstractPool
create
in class AbstractPool<String,SimpleString>
protected boolean isEqual(SimpleString entry, String value)
AbstractPool
true
if the entry
content is equal to value
;isEqual
in class AbstractPool<String,SimpleString>
Copyright © 2021 JBoss by Red Hat. All rights reserved.