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, hashCodepublic StringSimpleStringPool()
public StringSimpleStringPool(int capacity)
protected SimpleString create(String value)
AbstractPoolcreate in class AbstractPool<String,SimpleString>protected boolean isEqual(SimpleString entry, String value)
AbstractPooltrue if the entry content is equal to value;isEqual in class AbstractPool<String,SimpleString>Copyright © 2020 The Apache Software Foundation. All Rights Reserved.