Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 303 for Hafner (0.2 sec)

  1. guava/src/com/google/common/cache/CacheBuilder.java

       * SoftReference} (by default, strong references are used). Softly-referenced objects will be
       * garbage-collected in a <i>globally</i> least-recently-used manner, in response to memory
       * demand.
       *
       * <p><b>Warning:</b> in most circumstances it is better to set a per-cache {@linkplain
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("B", peekingIterator.peek());
    
        /* Should complain on attempt to remove() after peek(). */
        try {
          peekingIterator.remove();
          fail("remove() should throw IllegalStateException after a peek()");
        } catch (IllegalStateException e) {
          /* expected */
        }
    
        assertEquals(
            "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            Executors.newSingleThreadScheduledExecutor(new ThreadFactoryImpl());
        // Add a listener to shut down the executor after the service is stopped. This ensures that the
        // JVM shutdown will not be prevented from exiting after this service has stopped or failed.
        // Technically this listener is added after start() was called so it is a little gross, but it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

       * Returns a new ordering on {@code F} which orders elements by first applying a function to them,
       * then comparing those results using {@code this}. For example, to compare objects by their
       * string forms, in a case-insensitive manner, use:
       *
       * <pre>{@code
       * Ordering.from(String.CASE_INSENSITIVE_ORDER)
       *     .onResultOf(Functions.toStringFunction())
       * }</pre>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/TearDownAccepter.java

    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TearDownAccepter {
      /**
       * Registers a TearDown implementor which will be run after the test proper.
       *
       * <p>In JUnit4 language, that means as an {@code @After}.
       *
       * <p>In JUnit3 language, that means during the {@link junit.framework.TestCase#tearDown()} step.
       */
      void addTearDown(TearDown tearDown);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. android/guava/pom.xml

                </tag>
                <tag>
                  <name>spec</name>
                  <placement>X</placement>
                </tag>
              </tags>
    
              <!-- TODO(cpovirk): Move this to the parent after making the package-list files available there. -->
              <!-- We add the link ourselves, both so that we can choose Java 9 over the version that -source suggests and so that we can solve the JSR305 problem described below. -->
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          assertTrue(bb.remaining() > 0);
          assertTrue(bb.remaining() < bufferSize);
          int before = processCalled;
          super.processRemaining(bb);
          int after = processCalled;
          assertEquals(before + 1, after); // default implementation pads and calls process()
          processCalled--; // don't count the tail invocation (makes tests a bit more understandable)
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         * newFuture is a future that completes after this and all prior tasks are done.
         * oldFuture is the previous task's newFuture.
         * outputFuture is the future we return to the caller, a nonCancellationPropagating taskFuture.
         *
         * newFuture is guaranteed to only complete once all tasks previously submitted to this instance
         * have completed - namely after oldFuture is done, and taskFuture has either completed or been
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          Set<Object> keys = cache.asMap().keySet();
          // We don't know whether these are still in the cache, so we can't assert on the return
          // values of these removes, but the cache should be empty after the removes, regardless.
          keys.remove(1);
          keys.remove(2);
          assertFalse(keys.remove(null));
          assertFalse(keys.remove(6));
          assertFalse(keys.remove(-6));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Splitter.java

        /**
         * Returns the first index in {@code toSplit} at or after {@code start} that contains the
         * separator.
         */
        abstract int separatorStart(int start);
    
        /**
         * Returns the first index in {@code toSplit} after {@code separatorPosition} that does not
         * contain a separator. This method is only invoked after a call to {@code separatorStart}.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
Back to top