Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for Hafner (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *     annotation type, rather than an interface
       */
      <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit);
    
      /**
       * Invokes a specified Callable, timing out after the specified time limit. If the target method
       * call finishes before the limit is reached, the return value or a wrapped exception is
       * propagated. If, on the other hand, the time limit is reached, we attempt to abort the call to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals(
            "multiset.remove(present, 2) didn't return the old count",
            1,
            getMultiset().remove(e0(), 2));
        assertFalse(
            "multiset contains present after multiset.remove(present, 2)",
            getMultiset().contains(e0()));
        assertEquals(0, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. 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 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        public static final String BEFORE_FIRST = "\0";
        public static final String BEFORE_FIRST_2 = "\0\0";
        public static final String MIN_ELEMENT = "a";
        public static final String AFTER_LAST = "z";
        public static final String AFTER_LAST_2 = "zz";
      }
    
      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        public static final String BEFORE_FIRST = "\0";
        public static final String BEFORE_FIRST_2 = "\0\0";
        public static final String MIN_ELEMENT = "a";
        public static final String AFTER_LAST = "z";
        public static final String AFTER_LAST_2 = "zz";
      }
    
      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      @SuppressWarnings("Java7ApiChecker") // guava-android can rely on library desugaring now.
      @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents.
      @Beta // TODO: b/288085449 - Remove @Beta after we're sure that Java 8 APIs are safe for Android
      public FakeTicker advance(Duration duration) {
        return advance(duration.toNanos());
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/EnumHashBiMap.java

      // TODO(b/192446998): Remove this override after tools understand nullness better.
      @CheckForNull
      public V put(K key, @ParametricNullness V value) {
        return super.put(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      @SuppressWarnings("RedundantOverride") // b/192446478: RedundantOverride ignores some annotations.
      // TODO(b/192446998): Remove this override after tools understand nullness better.
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hasher.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link PrimitiveSink} that can compute a hash code after reading the input. Each hasher should
     * translate all multibyte values ({@link #putInt(int)}, {@link #putLong(long)}, etc) to bytes in
     * little-endian order.
     *
     * <p><b>Warning:</b> The result of calling any methods after calling {@link #hash} is undefined.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

          fail("putAll(containsNullKey) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putAll(containsNullKey)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAll_nullValueSupported() {
        putAll(containsNullValue);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/FinalizableWeakReference.java

    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.WeakReference;
    import javax.annotation.CheckForNull;
    
    /**
     * Weak reference with a {@code finalizeReferent()} method which a background thread invokes after
     * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link
     * ReferenceQueue}.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 1.6K bytes
    - Viewed (0)
Back to top