Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 152 for exits (0.21 sec)

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

     *       java.util.function.Function} is accepted (for example {@link java.util.stream.Stream#map
     *       Stream.map}).
     *   <li><b>Do not</b> call {@link #doForward} or {@link #doBackward} directly; these exist only to
     *       be overridden.
     * </ul>
     *
     * <h3>Example</h3>
     *
     * <pre>
     *   return new Converter&lt;Integer, String&gt;() {
     *     protected String doForward(Integer i) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

            }
            if (occurrences >= current) {
              if (countMap.remove(element, current)) {
                return current;
              }
            } else {
              // We know it's an "E" because it already exists in the map.
              @SuppressWarnings("unchecked")
              E casted = (E) element;
    
              if (countMap.replace(casted, current, current - occurrences)) {
                return current;
              }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          multimap.put(elements[i], i);
        }
      }
    
      /**
       * Implements {@code Multimap.put()} -- and no other methods -- for a {@code Map} by ignoring all
       * but the latest value for each key. This class exists only so that we can use {@link
       * MultimapsCollectionTest#populateMultimapForGet(Multimap, String[])} and similar methods to
       * populate a map to be passed to {@link Multimaps#forMap(Map)}. All tests should run against the
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //         for (int i = 0; i < iters; ++i) {
      //             junit.textui.TestRunner.run(s);
      //             System.gc();
      //             System.runFinalization();
      //         }
      //         System.exit(0);
      //     }
    
      //     public static TestSuite newTestSuite(Object... suiteOrClasses) {
      //         TestSuite suite = new TestSuite();
      //         for (Object suiteOrClass : suiteOrClasses) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ContiguousSet.java

      abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive);
    
      @SuppressWarnings("MissingOverride") // Supermethod does not exist under GWT.
      abstract ContiguousSet<C> subSetImpl(
          C fromElement, boolean fromInclusive, C toElement, boolean toInclusive);
    
      @SuppressWarnings("MissingOverride") // Supermethod does not exist under GWT.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsTest.java

        Map<Integer, String> right = ImmutableMap.of(1, "A", 3, "F", 5, "G", 6, "Z");
    
        // TODO(kevinb): replace with Ascii.caseInsensitiveEquivalence() when it
        // exists
        Equivalence<String> caseInsensitiveEquivalence =
            Equivalence.equals()
                .onResultOf(
                    new Function<String, String>() {
                      @Override
    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)
  8. android/guava-tests/test/com/google/common/collect/MapsTest.java

        Map<Integer, String> right = ImmutableMap.of(1, "A", 3, "F", 5, "G", 6, "Z");
    
        // TODO(kevinb): replace with Ascii.caseInsensitiveEquivalence() when it
        // exists
        Equivalence<String> caseInsensitiveEquivalence =
            Equivalence.equals()
                .onResultOf(
                    new Function<String, String>() {
                      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          @Override
          public ListenableFuture<V> apply(X t) {
            throw newAssertionError("Unexpected fallback", t);
          }
        };
      }
    
      /** Alternative to AssertionError(String, Throwable), which doesn't exist in GWT 2.6.1. */
      private static AssertionError newAssertionError(String message, Throwable cause) {
        AssertionError e = new AssertionError(message);
        e.initCause(cause);
        return e;
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

                return loadSync(key, hash, loadingValueReference, loader);
              }
            } finally {
              statsCounter.recordMisses(1);
            }
          } else {
            // The entry already exists. Wait for loading.
            return waitForLoadingValue(e, key, valueReference);
          }
        }
    
        V waitForLoadingValue(ReferenceEntry<K, V> e, K key, ValueReference<K, V> valueReference)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
Back to top