Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Schick (0.18 sec)

  1. guava/src/com/google/common/base/Preconditions.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static convenience methods that help a method or constructor check whether it was invoked
     * correctly (that is, whether its <i>preconditions</i> were met).
     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

         *     passed to {@code whenAllSucceed}, if that is the method you used to create this {@code
         *     FutureCombiner}). Even if you don't care about the value of the future, you should
         *     typically check whether it failed: See <a
         *     href="https://errorprone.info/bugpattern/FutureReturnValueIgnored">https://errorprone.info/bugpattern/FutureReturnValueIgnored</a>.
         */
    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)
  3. android/guava/src/com/google/common/reflect/TypeToken.java

        }
        if (runtimeType instanceof GenericArrayType) {
          return of(supertype).isSupertypeOfArray((GenericArrayType) runtimeType);
        }
        // Proceed to regular Type subtype check
        if (supertype instanceof Class) {
          return this.someRawTypeIsSubclassOf((Class<?>) supertype);
        } else if (supertype instanceof ParameterizedType) {
    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)
  4. android/guava/src/com/google/common/collect/Multimaps.java

                  if (!hasNext()) {
                    throw new NoSuchElementException();
                  }
                  i++;
                  /*
                   * The cast is safe because of the containsKey check in hasNext(). (That means it's
                   * unsafe under concurrent modification, but all bets are off then, anyway.)
                   */
                  return uncheckedCastNullableTToT(map.get(key));
                }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterators.java

        }
    
        @Override
        @ParametricNullness
        public E next() {
          if (!hasPeeked) {
            return iterator.next();
          }
          // The cast is safe because of the hasPeeked check.
          E result = uncheckedCastNullableTToT(peekedElement);
          hasPeeked = false;
          peekedElement = null;
          return result;
        }
    
        @Override
        public void remove() {
    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)
  6. android/guava/src/com/google/common/collect/Iterators.java

        }
    
        @Override
        @ParametricNullness
        public E next() {
          if (!hasPeeked) {
            return iterator.next();
          }
          // The cast is safe because of the hasPeeked check.
          E result = uncheckedCastNullableTToT(peekedElement);
          hasPeeked = false;
          peekedElement = null;
          return result;
        }
    
        @Override
        public void remove() {
    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)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<StringForFirstTypeArg<Integer>> subtype =
            new TypeToken<StringForFirstTypeArg<Integer>>() {};
        assertTrue(subtype.isSubtypeOf(supertype));
    
        // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873
        TypeToken<?> unused = supertype.getSubtype(subtype.getRawType());
      }
    
      public void testGetSubtype_baseClassWithNoTypeArgs() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static convenience methods that help a method or constructor check whether it was invoked
     * correctly (that is, whether its <i>preconditions</i> were met).
     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          default:
            Object[] keys = new Object[size];
            Object[] values = new Object[size];
            if (sameComparator) {
              // Need to check for nulls, but don't need to sort or validate.
              for (int i = 0; i < size; i++) {
                // requireNonNull is safe because the first `size` elements have been filled in.
    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)
  10. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(0, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        // Sanity check:
        assertFalse(currentThread().interrupted());
    
        Exception expected = assertThrows(ExecutionException.class, () -> cache.get(new Object()));
        assertThat(expected).hasCauseThat().isSameInstanceAs(e);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
Back to top