Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Only (0.13 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting map will
     * not correctly obey its specification.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      private static final class Listener {
        static final Listener TOMBSTONE = new Listener();
        @CheckForNull // null only for TOMBSTONE
        final Runnable task;
        @CheckForNull // null only for TOMBSTONE
        final Executor executor;
    
        // writes to next are made visible by subsequent CAS's on the listeners field
        @CheckForNull Listener next;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

            ImmutableMap.of(
                3, ValueDifferenceImpl.create("c", "f"), 5, ValueDifferenceImpl.create("e", "g")),
            diff1.entriesDiffering());
        assertEquals(
            "not equal: only on left={2=b, 4=d}: only on right={6=z}: "
                + "value differences={3=(c, f), 5=(e, g)}",
            diff1.toString());
    
        MapDifference<Integer, String> diff2 = Maps.difference(right, left);
        assertFalse(diff2.areEqual());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

            ImmutableMap.of(
                3, ValueDifferenceImpl.create("c", "f"), 5, ValueDifferenceImpl.create("e", "g")),
            diff1.entriesDiffering());
        assertEquals(
            "not equal: only on left={2=b, 4=d}: only on right={6=z}: "
                + "value differences={3=(c, f), 5=(e, g)}",
            diff1.toString());
    
        MapDifference<Integer, String> diff2 = Maps.difference(right, left);
        assertFalse(diff2.areEqual());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

      @GwtIncompatible // used only from other GwtIncompatible code
      private static final class BitSetMatcher extends NamedFastMatcher {
    
        private final BitSet table;
    
        private BitSetMatcher(BitSet table, String description) {
          super(description);
          if (table.length() + Long.SIZE < table.size()) {
            table = (BitSet) table.clone();
            // If only we could actually call BitSet.trimToSize() ourselves...
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        testConcurrentLoading(CacheBuilder.newBuilder().expireAfterWrite(10, TimeUnit.SECONDS));
      }
    
      /**
       * On a successful concurrent computation, only one thread does the work, but all the threads get
       * the same result.
       */
      private static void testConcurrentLoadingDefault(CacheBuilder<Object, Object> builder)
          throws InterruptedException {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      @GwtIncompatible // Only used by @GwtIncompatible code
      private abstract static class EmptyIteratorTester extends IteratorTester<Integer> {
        protected EmptyIteratorTester() {
          super(3, MODIFIABLE, Collections.<Integer>emptySet(), IteratorTester.KnownOrder.KNOWN_ORDER);
        }
      }
    
      @GwtIncompatible // Only used by @GwtIncompatible code
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

     *
     * <p>This class should be used by other collection classes only.
     *
     * @author Mike Bostock
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    /*
     * I have decided not to bother adding @ParametricNullness annotations in this class. Adding them is
     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/CharMatcher.java

      @GwtIncompatible // used only from other GwtIncompatible code
      private static final class BitSetMatcher extends NamedFastMatcher {
    
        private final BitSet table;
    
        private BitSetMatcher(BitSet table, String description) {
          super(description);
          if (table.length() + Long.SIZE < table.size()) {
            table = (BitSet) table.clone();
            // If only we could actually call BitSet.trimToSize() ourselves...
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       * <p><i>Performance notes:</i> while the power set of a set with size {@code n} is of size {@code
       * 2^n}, its memory usage is only {@code O(n)}. When the power set is constructed, the input set
       * is merely copied. Only as the power set is iterated are the individual subsets created, and
       * these subsets themselves occupy only a small constant amount of memory.
       *
       * @param set the set of elements to construct a power set from
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top