Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for Heller (0.17 sec)

  1. 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)
  2. guava/src/com/google/common/base/Verify.java

     * which approach to use, <b>don't worry</b> too much about it; just pick something that seems
     * reasonable and it will be fine.
     *
     * <ul>
     *   <li>If checking whether the <i>caller</i> has violated your method or constructor's contract
     *       (such as by passing an invalid argument), use the utilities of the {@link Preconditions}
     *       class instead.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteSource.java

     *
     * <p>{@code ByteSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a stream:</b> These methods should return a <i>new</i>, independent
     *       instance each time they are called. The caller is responsible for ensuring that the
     *       returned stream is closed.
     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/MathTesting.java

          ImmutableList.of(0, 1, 2, 3, 4, 7, 10, 15, 20, 25, 40, 70);
    
      /* Helper function to make a Long value from an Integer. */
      private static final Function<Integer, Long> TO_LONG =
          new Function<Integer, Long>() {
            @Override
            public Long apply(Integer n) {
              return Long.valueOf(n);
            }
          };
    
      /* Helper function to make a BigInteger value from a Long. */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSource.java

     *
     * <p>{@code CharSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a reader:</b> These methods should return a <i>new</i>, independent
     *       instance each time they are called. The caller is responsible for ensuring that the
     *       returned reader is closed.
     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
     * test with reference to the same "lock-like object", and then their interactions with that object
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      }
    
      /**
       * Loads {@link WillBeUnloadedException} in a separate {@code ClassLoader}, calls {@code
       * getChecked(future, WillBeUnloadedException.class)}, and returns the loader. The caller can then
       * test that the {@code ClassLoader} can still be GCed. The test amounts to a test that {@code
       * getChecked} holds no strong references to the class.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import java.util.SortedMap;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    
    /**
     * Helper classes for various benchmarks.
     *
     * @author Christopher Swenson
     */
    final class BenchmarkHelpers {
      /** So far, this is the best way to test various implementations of {@link Set} subclasses. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import java.util.SortedMap;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    
    /**
     * Helper classes for various benchmarks.
     *
     * @author Christopher Swenson
     */
    final class BenchmarkHelpers {
      /** So far, this is the best way to test various implementations of {@link Set} subclasses. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
Back to top