Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 98 for id (0.12 sec)

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

     * cannot be used as a replacement for a {@link Double}. However, this class does extend {@code
     * Number} to allow uniform access by tools and utilities that deal with numerically-based classes.
     *
     * <p><a id="bitEquals"></a>This class compares primitive {@code double} values in methods such as
     * {@link #compareAndSet} by comparing their bitwise representation using {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 28 21:00:54 GMT 2022
    - 7.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

       * {@link java.util.TreeMap} can suppress it with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getPutNullKeyUnsupportedMethod() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

          for (int m = 0; m < 1000; m++) {
            assertTrue(BloomFilter.optimalNumOfHashFunctions(n, m) > 0);
          }
        }
      }
    
      // https://code.google.com/p/guava-libraries/issues/detail?id=1781
      public void testOptimalNumOfHashFunctionsRounding() {
        assertEquals(7, BloomFilter.optimalNumOfHashFunctions(319, 3072));
      }
    
      /** Tests that we always get a non-negative optimal size. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          MapMakerInternalMap.this.clear();
        }
    
        // super.toArray() may misbehave if size() is inaccurate, at least on old versions of Android.
        // https://code.google.com/p/android/issues/detail?id=36519 / http://r.android.com/47508
    
        @Override
        public Object[] toArray() {
          return toArrayList(this).toArray();
        }
    
        @Override
        public <T> T[] toArray(T[] a) {
    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)
  5. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      interface Interface extends Comparable<Interface> {}
    
      static class Impl implements Interface {
        static int nextId;
        Integer id = nextId++;
    
        @Override
        public int compareTo(Interface other) {
          return id.compareTo(((Impl) other).id);
        }
      }
    
      public void testOf_ordering_dupes() {
        SortedSet<String> set = of("e", "a", "e", "f", "b", "b", "d", "a", "c");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *
       * <p>Note: the type parameter {@code E} extends {@code Comparable<?>} rather than {@code
       * Comparable<? super E>} as a workaround for javac <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6468354">bug 6468354</a>.
       */
      public static <E extends Comparable<?>> Builder<E> reverseOrder() {
        return new Builder<>(Ordering.<E>natural().reverse());
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        }
    
        private abstract class SubOuter extends BaseOuter {
          private abstract class SubInner extends BaseInner {}
        }
      }
    
      // For Guava bug http://code.google.com/p/guava-libraries/issues/detail?id=1025
      public void testDespiteGenericSignatureFormatError() {
        ImmutableSet<?> unused =
            ImmutableSet.copyOf(
                TypeToken.of(ToReproduceGenericSignatureFormatError.SubOuter.SubInner.class)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      private SortedMultiset<E> sortedMultiset;
      private List<E> entries;
      private Entry<E> a;
      private Entry<E> b;
      private Entry<E> c;
    
      /** Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557 */
      static <T> SortedMultiset<T> cast(Multiset<T> iterable) {
        return (SortedMultiset<T>) iterable;
      }
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 25.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Mind-bogglingly slow in GWT
      @AndroidIncompatible // slow
      public void testOverflowCondition() {
        // See https://code.google.com/p/guava-libraries/issues/detail?id=1322 for details.
        ImmutableTable.Builder<Integer, Integer, String> builder = ImmutableTable.builder();
        for (int i = 1; i < 0x10000; i++) {
          builder.put(i, 0, "foo");
          builder.put(0, i, "bar");
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FluentIterable.java

     *       or array (for example {@link #toList})
     * </ul>
     *
     * <p>Several lesser-used features are currently available only as static methods on the {@link
     * Iterables} class.
     *
     * <p><a id="streams"></a>
     *
     * <h3>Comparison to streams</h3>
     *
     * <p>{@link Stream} is similar to this class, but generally more powerful, and certainly more
     * standard. Key differences include:
     *
     * <ul>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
Back to top