Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. android/guava/src/com/google/common/base/Suppliers.java

      @Beta // only until we're confident that Java 8+ APIs are safe for our Android users
      @J2ktIncompatible
      @GwtIncompatible // java.time.Duration
      @SuppressWarnings("Java7ApiChecker") // no more dangerous that wherever the user got the Duration
      @IgnoreJRERequirement
      public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(
          Supplier<T> delegate, Duration duration) {
        checkNotNull(delegate);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Throwables.java

       *     RuntimeException(e)}. But consider whether users would be better off if your API threw a
       *     different type of exception. For background on the deprecation, read <a
       *     href="https://goo.gl/Ivn2kc">Why we deprecated {@code Throwables.propagate}</a>.
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible
      @Deprecated
      public static RuntimeException propagate(Throwable throwable) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Throwables.java

       *     RuntimeException(e)}. But consider whether users would be better off if your API threw a
       *     different type of exception. For background on the deprecation, read <a
       *     href="https://goo.gl/Ivn2kc">Why we deprecated {@code Throwables.propagate}</a>.
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible
      @Deprecated
      public static RuntimeException propagate(Throwable throwable) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

    /**
     * Static methods to obtain {@link HashFunction} instances, and other static hashing-related
     * utilities.
     *
     * <p>A comparison of the various hash functions can be found <a
     * href="http://goo.gl/jS7HH">here</a>.
     *
     * @author Kevin Bourrillion
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @ElementTypesAreNonnullByDefault
    public final class Hashing {
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Lists.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code ArrayList} {@linkplain ArrayList#ArrayList() constructor} directly, taking
       * advantage of <a href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       */
      @GwtCompatible(serializable = true)
      public static <E extends @Nullable Object> ArrayList<E> newArrayList() {
        return new ArrayList<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashSet} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       */
      public static <E extends @Nullable Object> HashSet<E> newHashSet() {
        return new HashSet<>();
      }
    
      /**
    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)
  7. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        // plus the exception mechanics account for messiness of main
        // loop.
    
        try {
          // Record exceptions so that if we fail to obtain any
          // result, we can throw the last exception we got.
          ExecutionException ee = null;
          long lastTime = timed ? System.nanoTime() : 0;
          Iterator<? extends Callable<T>> it = tasks.iterator();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      interface WeakValueReference<K, V, E extends InternalEntry<K, V, E>> {
        /**
         * Returns the current value being referenced, or {@code null} if there is none (e.g. because
         * either it got collected, or {@link #clear} was called, or it wasn't set in the first place).
         */
        @CheckForNull
        V get();
    
        /** Returns the entry which contains this {@link WeakValueReference}. */
        E getEntry();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/LongMathTest.java

            assertTrue(expectedSuccess);
          } catch (ArithmeticException e) {
            if (expectedSuccess) {
              failFormat("expected log10(%s, UNNECESSARY) = %s; got ArithmeticException", x, floor);
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10TrivialOnPowerOf10() {
        long x = 1000000000000L;
    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. guava/src/com/google/common/collect/EnumMultiset.java

       */
      private void checkIsE(Object element) {
        checkNotNull(element);
        if (!isActuallyE(element)) {
          throw new ClassCastException("Expected an " + type + " but got " + element);
        }
      }
    
      @Override
      int distinctElements() {
        return distinctElements;
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(size);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top