@Test public void testStringSimpleStringPool() throws Exception { final int capacity = 8; final SimpleString.StringSimpleStringPool pool = new SimpleString.StringSimpleStringPool(capacity); for (int i = 0; i < capacity; i++) { final String s = Integer.toString(i); final SimpleString expectedPooled = pool.getOrCreate(s); Assert.assertSame(expectedPooled, pool.getOrCreate(s)); } }
public TypedPropertiesStringSimpleStringPools(int keyPoolCapacity, int valuePoolCapacity) { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(keyPoolCapacity); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(valuePoolCapacity); }
public TypedPropertiesStringSimpleStringPools(int keyPoolCapacity, int valuePoolCapacity) { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(keyPoolCapacity); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(valuePoolCapacity); }
public TypedPropertiesStringSimpleStringPools() { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(); }
public TypedPropertiesStringSimpleStringPools(int keyPoolCapacity, int valuePoolCapacity) { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(keyPoolCapacity); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(valuePoolCapacity); }
public TypedPropertiesStringSimpleStringPools() { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(); }
public TypedPropertiesStringSimpleStringPools() { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(); }
public TypedPropertiesStringSimpleStringPools() { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(); }
public TypedPropertiesStringSimpleStringPools(int keyPoolCapacity, int valuePoolCapacity) { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(keyPoolCapacity); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(valuePoolCapacity); }
public TypedPropertiesStringSimpleStringPools(int keyPoolCapacity, int valuePoolCapacity) { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(keyPoolCapacity); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(valuePoolCapacity); }
public TypedPropertiesStringSimpleStringPools() { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(); }
public TypedPropertiesStringSimpleStringPools() { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(); }
public TypedPropertiesStringSimpleStringPools(int keyPoolCapacity, int valuePoolCapacity) { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(keyPoolCapacity); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(valuePoolCapacity); }
public TypedPropertiesStringSimpleStringPools() { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(); }
public TypedPropertiesStringSimpleStringPools(int keyPoolCapacity, int valuePoolCapacity) { this.propertyKeysPool = new SimpleString.StringSimpleStringPool(keyPoolCapacity); this.propertyValuesPool = new SimpleString.StringSimpleStringPool(valuePoolCapacity); }