Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,056 for versions (0.2 sec)

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

     *   <li>{@code java.util.Optional} has the additional methods {@code ifPresent}, {@code filter},
     *       {@code flatMap}, and {@code orElseThrow}.
     *   <li>{@code java.util} offers the primitive-specialized versions {@code OptionalInt}, {@code
     *       OptionalLong} and {@code OptionalDouble}, the use of which is recommended; Guava does not
     *       have these.
     * </ul>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java

      @Override
      public void testNullPointerInstance() {
        if (isAndroid()) {
          /*
           * NPT fails under the old versions of Android we test under because it performs reflection on
           * ImmutableTable, which declares static methods that refer to Collector, which is unavailable
           * under such versions.
           *
           * We use a runtime check here instead of @AndroidIncompatible: @AndroidIncompatible operates
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

    import java.util.concurrent.atomic.AtomicInteger;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A multiset that supports concurrent modifications and that provides atomic versions of most
     * {@code Multiset} operations (exceptions where noted). Null elements are not supported.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Optional.java

     *   <li>{@code java.util.Optional} has the additional methods {@code ifPresent}, {@code filter},
     *       {@code flatMap}, and {@code orElseThrow}.
     *   <li>{@code java.util} offers the primitive-specialized versions {@code OptionalInt}, {@code
     *       OptionalLong} and {@code OptionalDouble}, the use of which is recommended; Guava does not
     *       have these.
     * </ul>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // All futures are now complete; outstanding inputs are cancelled
        assertTrue(future3.isCancelled());
        assertTrue(future3.wasInterrupted());
      }
    
      @AndroidIncompatible // runs out of memory under some versions of the emulator
      public void testCancellingAllDelegatesIsNotQuadratic() throws Exception {
        ImmutableList.Builder<SettableFuture<Long>> builder = ImmutableList.builder();
        for (int i = 0; i < 500_000; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/LongMathTest.java

                failFormat("expected divide(%s, %s, %s) = %s; got %s", p, q, mode, expected, actual);
              }
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      @AndroidIncompatible // Bug in older versions of Android we test against, since fixed.
      public void testDivNonZeroExact() {
        for (long p : NONZERO_LONG_CANDIDATES) {
          for (long q : NONZERO_LONG_CANDIDATES) {
            boolean expectedSuccess = (p % q) == 0L;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *       wait();
     *     }
     *     value = newValue;
     *     notifyAll();
     *   }
     * }
     * }</pre>
     *
     * <h3>{@code ReentrantLock}</h3>
     *
     * <p>This version is much more verbose than the {@code synchronized} version, and still suffers
     * from the need for the programmer to remember to use {@code while} instead of {@code if}. However,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/SplitterTest.java

      }
    
      @J2ktIncompatible // Kotlin Native's regex is based on Apache Harmony, like old Android
      @GwtIncompatible // java.util.regex.Pattern
      @AndroidIncompatible // Bug in older versions of Android we test against, since fixed.
      public void testPatternSplitLookBehind() {
        if (!CommonPattern.isPcreLike()) {
          return;
        }
        String toSplit = ":foo::barbaz:";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/LongMathTest.java

                failFormat("expected divide(%s, %s, %s) = %s; got %s", p, q, mode, expected, actual);
              }
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      @AndroidIncompatible // Bug in older versions of Android we test against, since fixed.
      public void testDivNonZeroExact() {
        for (long p : NONZERO_LONG_CANDIDATES) {
          for (long q : NONZERO_LONG_CANDIDATES) {
            boolean expectedSuccess = (p % q) == 0L;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/Invokable.java

     * assertEquals(new TypeToken<List<String>>() {}, invokable.getOwnerType());
     * }</pre>
     *
     * <p><b>Note:</b> earlier versions of this class inherited from {@link
     * java.lang.reflect.AccessibleObject AccessibleObject} and {@link
     * java.lang.reflect.GenericDeclaration GenericDeclaration}. Since version 31.0 that is no longer
     * the case. However, most methods from those types are present with the same signature in this
     * class.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
Back to top