Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for it (7.96 sec)

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

       * ordering of the keys.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on a map with keys that are not mutually
       * comparable.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        } else if (obj instanceof Failure) {
          throw new ExecutionException(((Failure) obj).exception);
        } else if (obj == NULL) {
          /*
           * It's safe to return null because we would only have stored it in the first place if it were
           * a valid value for V.
           */
          return uncheckedNull();
        } else {
          @SuppressWarnings("unchecked") // this is the only other option
          V asV = (V) obj;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

        return set;
      }
    
      /**
       * Creates a {@code LinkedHashSet} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without growth. This behavior cannot be
       * broadly guaranteed, but it is observed to be true for OpenJDK 1.7. It also can't be guaranteed
       * that the method isn't inadvertently <i>oversizing</i> the returned set.
       *
    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)
  4. android/guava/src/com/google/common/collect/Multimaps.java

      }
    
      /**
       * Returns a synchronized (thread-safe) multimap backed by the specified multimap. In order to
       * guarantee serial access, it is critical that <b>all</b> access to the backing multimap is
       * accomplished through the returned multimap.
       *
       * <p>It is imperative that the user manually synchronize on the returned multimap when accessing
       * any of its collection views:
       *
       * <pre>{@code
    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)
  5. android/guava/src/com/google/common/collect/Iterators.java

            }
            /*
             * requireNonNull is safe because our callers always pass non-null arguments. Each element
             * of the array becomes null only when we iterate past it and then clear it.
             */
            I result = requireNonNull(elements[index]);
            elements[index] = null;
            index++;
            return result;
          }
        };
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top