Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for reference (0.16 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       * accessed directly after this method returns. These conditions are ensured if the map is created
       * empty, passed directly to this method, and no reference to the map is retained, as illustrated
       * in the following code fragment:
       *
       * <pre>{@code
       * Set<Object> identityHashSet = Sets.newSetFromMap(
       *     new IdentityHashMap<Object, Boolean>());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMap.java

      @Override
      @CheckForNull
      public abstract V get(@CheckForNull Object key);
    
      /**
       * {@inheritDoc}
       *
       * <p>See <a
       * href="https://developer.android.com/reference/java/util/Map.html#getOrDefault%28java.lang.Object,%20V%29">{@code
       * Map.getOrDefault}</a>.
       *
       * @since 23.5 (but since 21.0 in the JRE <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableList.java

       * immutable list is returned.)
       *
       * <p><b>Note:</b> in almost all circumstances, the returned {@link ImmutableList} retains a
       * strong reference to {@code this}, which may prevent the original list from being garbage
       * collected. If you want the original list to be eligible for garbage collection, you should
       * create and use a copy of the sub list (e.g., {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
    
        Object readResolve() {
          return new ImmutableRangeSet<C>(ranges).asSet(domain);
        }
      }
    
      /**
       * Returns {@code true} if this immutable range set's implementation contains references to
       * user-created objects that aren't accessible via this range set's methods. This is generally
       * used to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. README.md

    [guava-snapshot-api-diffs]: https://guava.dev/releases/snapshot-jre/api/diffs/
    [Guava Explained]: https://github.com/google/guava/wiki/Home
    [Guava Beta Checker]: https://github.com/google/guava-beta-checker
    
    <!-- References -->
    
    [using Guava in your build]: https://github.com/google/guava/wiki/UseGuavaInYourBuild
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>Note: the multimap assumes complete ownership over of {@code map} and the collections
       * returned by {@code factory}. Those objects should not be manually updated and they should not
       * use soft, weak, or phantom references.
       *
       * @param map place to store the mapping from each key to its corresponding values
       * @param factory supplier of new, empty collections that will each hold all values for a given
       *     key
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

          TreeMap<K, V> newTreeMap(@CheckForNull Comparator<C> comparator) {
        // Ideally, the extra type parameter "C" shouldn't be necessary. It is a
        // work-around of a compiler type inference quirk that prevents the
        // following code from being compiled:
        // Comparator<Class<?>> comparator = null;
        // Map<Class<? extends Throwable>, String> map = newTreeMap(comparator);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top