Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for exists (0.18 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

          }
          return null;
        }
      }
    
      private static final class InCompletionOrderState<T extends @Nullable Object> {
        // A happens-before edge between the writes of these fields and their reads exists, because
        // in order to read these fields, the corresponding write to incompleteOutputCount must have
        // been read.
        private boolean wasCancelled = false;
        private boolean shouldInterrupt = true;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

       * type variable too.
       */
      @CheckForNull
      final TypeToken<? super T> getGenericSuperclass() {
        if (runtimeType instanceof TypeVariable) {
          // First bound is always the super class, if one exists.
          return boundAsSuperclass(((TypeVariable<?>) runtimeType).getBounds()[0]);
        }
        if (runtimeType instanceof WildcardType) {
          // wildcard has one and only one upper bound.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Iterators.java

       * iterator containing two inner lists of three elements each, all in the original order.
       *
       * <p>The returned lists implement {@link java.util.RandomAccess}.
       *
       * @param iterator the iterator to return a partitioned view of
       * @param size the desired size of each partition
       * @return an iterator of immutable lists containing the elements of {@code iterator} divided into
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

       * resulting segment inside the cache <i>independently</i> limits its own size to approximately
       * {@code maximumSize / concurrencyLevel}.
       *
       * <p>When eviction is necessary, the cache evicts entries that are less likely to be used again.
       * For example, the cache may evict an entry because it hasn't been used recently or very often.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

       * iterator containing two inner lists of three elements each, all in the original order.
       *
       * <p>The returned lists implement {@link java.util.RandomAccess}.
       *
       * @param iterator the iterator to return a partitioned view of
       * @param size the desired size of each partition
       * @return an iterator of immutable lists containing the elements of {@code iterator} divided into
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 20 03:33:06 GMT 2024
    - 50.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      private static final long serialVersionUID = 0;
    
      /**
       * Not supported. Use {@link #toImmutableSortedMap}, which offers better type-safety, instead.
       * This method exists only to hide {@link ImmutableMap#toImmutableMap} from consumers of {@code
       * ImmutableSortedMap}.
       *
       * @throws UnsupportedOperationException always
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 52.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

      private static final long serialVersionUID = 0;
    
      /**
       * Not supported. Use {@link #toImmutableSortedMap}, which offers better type-safety, instead.
       * This method exists only to hide {@link ImmutableMap#toImmutableMap} from consumers of {@code
       * ImmutableSortedMap}.
       *
       * @throws UnsupportedOperationException always
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

        List<@Nullable String> listWithNull = Lists.newArrayList((String) null);
        try {
          Maps.uniqueIndex((List<String>) listWithNull, Functions.constant(1));
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      /** Null keys aren't allowed either. */
      public void testUniqueIndexNullKey() {
        List<String> oneStringList = Lists.newArrayList("foo");
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

        List<@Nullable String> listWithNull = Lists.newArrayList((String) null);
        try {
          Maps.uniqueIndex((List<String>) listWithNull, Functions.constant(1));
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      /** Null keys aren't allowed either. */
      public void testUniqueIndexNullKey() {
        List<String> oneStringList = Lists.newArrayList("foo");
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          initTable(newEntryArray(initialCapacity));
        }
    
        /**
         * Returns {@code this} up-casted to the specific {@link Segment} implementation type {@code S}.
         *
         * <p>This method exists so that the {@link Segment} code can be generic in terms of {@code S},
         * the type of the concrete implementation.
         */
        abstract S self();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
Back to top