HomeSort by relevance Sort by last modified time
    Searched refs:Interner (Results 1 - 4 of 4) sorted by null

  /external/guava/guava/src/com/google/common/collect/
Interner.java 29 public interface Interner<E> {
Interners.java 28 * Contains static methods pertaining to instances of {@link Interner}.
38 * Returns a new thread-safe interner which retains a strong reference to each instance it has
41 * unlike {@link String#intern}, using this interner does not consume memory in the permanent
44 public static <E> Interner<E> newStrongInterner() {
46 return new Interner<E>() {
54 private static class CustomInterner<E> implements Interner<E> {
95 * Returns a new thread-safe interner which retains a weak reference to each instance it has
99 * String#intern}, using this interner does not consume memory in the permanent generation.
102 public static <E> Interner<E> newWeakInterner() {
107 * Returns a function that delegates to the {@link Interner#intern} method of the given interner
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
InternersTest.java 37 Interner<String> pool = Interners.newStrongInterner();
43 Interner<String> pool = Interners.newStrongInterner();
54 Interner<String> pool = Interners.newWeakInterner();
60 Interner<String> pool = Interners.newWeakInterner();
71 Interner<Integer> pool = Interners.newWeakInterner();
  /prebuilts/tools/common/guava-tools/
guava-10.0.1.jar 

Completed in 3954 milliseconds