Home | History | Annotate | Download | only in internal

Lines Matching defs:stringPool

20 import libcore.internal.StringPool;
25 StringPool stringPool = new StringPool();
26 String bcd = stringPool.get(new char[] { 'a', 'b', 'c', 'd', 'e' }, 1, 3);
28 assertSame(bcd, stringPool.get(new char[] { 'a', 'b', 'c', 'd', 'e' }, 1, 3));
32 StringPool stringPool = new StringPool();
37 String aString = stringPool.get(a, 0, 2);
39 String bString = stringPool.get(b, 0, 2);
41 assertSame(bString, stringPool.get(b, 0, 2));
42 assertNotSame(aString, stringPool.get(a, 0, 2));