Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 392 for Are (0.22 sec)

  1. android/guava/src/com/google/common/math/LongMath.java

    import java.math.BigInteger;
    import java.math.RoundingMode;
    
    /**
     * A class for arithmetic on values of type {@code long}. Where possible, methods are defined and
     * named analogously to their {@code BigInteger} counterparts.
     *
     * <p>The implementations of many methods in this class are based on material from Henry S. Warren,
     * Jr.'s <i>Hacker's Delight</i>, (Addison Wesley, 2002).
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

     * <p><b>Java 8+ users:</b> several common uses for this class are now more comprehensively
     * addressed by the new {@link java.util.stream.Stream} library. Read the method documentation below
     * for comparisons. This class is not being deprecated, but we gently encourage you to migrate to
     * streams.
     *
     * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterables produced in this class
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          if (entry instanceof ImmutableEntry) {
            checkNotNull(entry.getKey());
            checkNotNull(entry.getValue());
            @SuppressWarnings("unchecked") // all supported methods are covariant
            Entry<K, V> immutableEntry = (Entry<K, V>) entry;
            entries.add(immutableEntry);
          } else {
            entries.add(entryOf((K) entry.getKey(), (V) entry.getValue()));
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertEquals(10, removalListener.getCount()); // these are the invalidated ones
    
        // old timeouts must expire after this wait
        ticker.advance(ttl * 2 / 3, MILLISECONDS);
    
        assertEquals(10, CacheTesting.expirationQueueSize(cache));
        assertEquals(10, removalListener.getCount());
    
        // check that new values are still there - they still have 10 ms to live
        for (int i = 0; i < 10; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
       * @param sampleElement an element of the same type as that contained by {@code collection}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

     *
     * <ul>
     *   <li>Memory footprint has a fixed overhead (about 24 bytes per instance).
     *   <li><i>Some</i> construction use cases force the data to be copied (though several construction
     *       APIs are offered that don't).
     *   <li>Can't be passed directly to methods that expect {@code int[]} (though the most common
     *       utilities do have replacements here).
     *   <li>Dependency on {@code com.google.common} / Guava.
     * </ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableList.java

       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>Note that if {@code list} is a {@code List<String>}, then {@code ImmutableList.copyOf(list)}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  8. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  }
                };
              }
            },
            "HashMap w/out null values",
            ALLOWS_NULL_KEYS);
      }
    
      /**
       * Map generator that verifies that {@code setUp()} methods are called in all the test cases. The
       * {@code setUpRan} parameter is set true by the {@code setUp} that every test case is supposed to
       * have registered, and set false by the {@code tearDown}. We use a dynamic proxy to intercept all
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/PredicatesTest.java

            Predicates.or(Collections.<Predicate<@Nullable Integer>>emptyList());
        Predicate<@Nullable Integer> troo = Predicates.or(Collections.singletonList(TRUE));
        /*
         * newLinkedList() takes varargs. TRUE and FALSE are both instances of
         * Predicate<Integer>, so the call is safe.
         */
        Predicate<@Nullable Integer> trueAndFalse = Predicates.or(Arrays.asList(TRUE, FALSE));
    
        assertEvalsToFalse(vacuouslyFalse);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  }
                };
              }
            },
            "HashMap w/out null values",
            ALLOWS_NULL_KEYS);
      }
    
      /**
       * Map generator that verifies that {@code setUp()} methods are called in all the test cases. The
       * {@code setUpRan} parameter is set true by the {@code setUp} that every test case is supposed to
       * have registered, and set false by the {@code tearDown}. We use a dynamic proxy to intercept all
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
Back to top