Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for Povirk (0.17 sec)

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

     * for comparisons. These methods are not being deprecated, but we gently encourage you to migrate
     * to streams.
     *
     * @author Chris Povirk
     * @author Mike Bostock
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Collections2 {
      private Collections2() {}
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Collections2.java

     * for comparisons. These methods are not being deprecated, but we gently encourage you to migrate
     * to streams.
     *
     * @author Chris Povirk
     * @author Mike Bostock
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Collections2 {
      private Collections2() {}
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

      protected boolean setFuture(ListenableFuture<? extends V> future) {
        checkNotNull(future);
    
        // If this future is already cancelled, cancel the delegate.
        // TODO(cpovirk): Should we do this at the end of the method, as in the server version?
        // TODO(cpovirk): Use maybePropagateCancellationTo?
        if (isCancelled()) {
          future.cancel(mayInterruptIfRunning);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      @CanIgnoreReturnValue
      @ParametricNullness
      static <V extends @Nullable Object, X extends Exception> V getChecked(
          Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X {
        // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator
        bestGetCheckedTypeValidator().validateClass(exceptionClass);
        try {
          return future.get(timeout, unit);
        } catch (InterruptedException e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/IntMathTest.java

      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
      public void testMaxLog10ForLeadingZeros() {
        for (int i = 0; i < Integer.SIZE; i++) {
          assertEquals(
              BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Integer.SIZE - i), FLOOR),
              IntMath.maxLog10ForLeadingZeros[i]);
        }
      }
    
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/IntMathTest.java

      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
      public void testMaxLog10ForLeadingZeros() {
        for (int i = 0; i < Integer.SIZE; i++) {
          assertEquals(
              BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Integer.SIZE - i), FLOOR),
              IntMath.maxLog10ForLeadingZeros[i]);
        }
      }
    
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

              log(throwable);
              return;
            }
          }
        }
    
        /*
         * TODO(cpovirk): Should whenAllComplete().call*() log errors, too? Currently, it doesn't call
         * handleException() at all.
         */
        if (throwable instanceof Error) {
          /*
           * TODO(cpovirk): Do we really want to log this if we called setException(throwable) and it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        fail();
      }
    
      public static class BadNullsFactory {
        public static Object bad(@SuppressWarnings("unused") String a) {
          return new BadNulls();
        }
      }
    
      @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException... ClassSanityTesterTest$AnInterface
      public void testSerializableOnReturnValues_good() throws Exception {
        tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testSerializable();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      // TODO(cpovirk): split into ImmutableSortedSet/ForwardingImmutableSortedSet?
    
      // In the non-emulated source, this is in ImmutableSortedSetFauxverideShim,
      // which overrides ImmutableSet & which ImmutableSortedSet extends.
      // It is necessary here because otherwise the builder() method
      // would be inherited from the emulated ImmutableSet.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Functions.java

          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hashCode(map, defaultValue);
        }
    
        @Override
        public String toString() {
          // TODO(cpovirk): maybe remove "defaultValue=" to make this look like the method call does
          return "Functions.forMap(" + map + ", defaultValue=" + defaultValue + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top