Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 102 for Heller (0.16 sec)

  1. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        return "z";
      }
    
      @Override
      protected String getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return "26";
      }
    
      /** Helper assertion comparing two maps */
      private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) {
        assertEquals(expected, map);
        assertEquals(expected.hashCode(), map.hashCode());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * });
     * }</pre>
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
     * leaks, by ensuring that objects are no longer strongly referenced:
     *
     * <pre>{@code
     * // Helper function keeps victim stack-unreachable.
     * private WeakReference<Foo> fooWeakRef() {
     *   Foo x = ....;
     *   WeakReference<Foo> weakRef = new WeakReference<>(x);
     *   // ... use x ...
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Optional.java

       * Optional.orElseGet}, except when {@code supplier} returns {@code null}. In this case this
       * method throws an exception, whereas the Java 8+ method returns the {@code null} to the caller.
       *
       * @throws NullPointerException if this optional's value is absent and the supplier returns {@code
       *     null}
       */
      public abstract T or(Supplier<? extends T> supplier);
    
      /**
    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)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      private volatile int remaining;
    
      private static final AtomicHelper ATOMIC_HELPER;
    
      private static final LazyLogger log = new LazyLogger(AggregateFutureState.class);
    
      static {
        AtomicHelper helper;
        Throwable thrownReflectionFailure = null;
        try {
          helper =
              new SafeAtomicHelper(
                  newUpdater(AggregateFutureState.class, Set.class, "seenExceptions"),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        try {
          cache.getUnchecked("bar");
          fail();
        } catch (UncheckedExecutionException expected) {
        }
        assertEquals(2, callCount.get());
      }
    
      /**
       * Test-helper method that performs {@code nThreads} concurrent calls to {@code cache.get(key)} or
       * {@code cache.getUnchecked(key)}, and returns a List containing each of the results. The result
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        static final class Helper<K, V>
            implements InternalEntryHelper<
                K, V, StrongKeyStrongValueEntry<K, V>, StrongKeyStrongValueSegment<K, V>> {
          private static final Helper<?, ?> INSTANCE = new Helper<>();
    
          @SuppressWarnings("unchecked")
          static <K, V> Helper<K, V> instance() {
            return (Helper<K, V>) INSTANCE;
          }
    
          @Override
    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)
  7. android/guava/src/com/google/common/collect/ObjectArrays.java

       * elements than the collection), the element in the array immediately following the end of the
       * collection is set to {@code null}. This is useful in determining the length of the collection
       * <i>only</i> if the caller knows that the collection does not contain any null elements.
       *
       * <p>This method returns the elements in the order they are returned by the collection's
       * iterator.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Objects.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Arrays;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Helper functions that can operate on any {@code Object}.
     *
     * <p>See the Guava User Guide on <a
     * href="https://github.com/google/guava/wiki/CommonObjectUtilitiesExplained">writing {@code Object}
     * methods with {@code Objects}</a>.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i>
     * possible sequences of these operations, up to a given number of steps. So, if the caller
     * specifies to use <i>n</i> steps, a total of <i>3^n</i> tests are actually performed.
     *
     * <p>For instance, if <i>steps</i> is 5, one example sequence that will be tested is:
     *
     * <ol>
     *   <li>remove();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

    import com.google.common.collect.Sets;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Helper class for creating {@link CacheBuilder} instances with all combinations of several sets of
     * parameters.
     *
     * @author mike nonemacher
     */
    class CacheBuilderFactory {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
Back to top