Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 370 for Sets (0.12 sec)

  1. guava-testlib/src/com/google/common/testing/FakeTicker.java

      @SuppressWarnings("Java7ApiChecker") // guava-android can rely on library desugaring now.
      public FakeTicker advance(Duration duration) {
        return advance(duration.toNanos());
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
       * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
       * queried.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Sets;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import com.google.common.testing.EqualsTester;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedListMultimap.java

           * requireNonNull is safe as long as callers pass a nextSibling that (a) has the same key and
           * (b) is present in the multimap. (And they do, except maybe in case of concurrent
           * modification, in which case all bets are off.)
           */
          KeyList<K, V> keyList = requireNonNull(keyToKeyList.get(key));
          keyList.count++;
          node.previous = nextSibling.previous;
          node.previousSibling = nextSibling.previousSibling;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        SortedSet<String> set = of("a", "b", "c");
        assertEquals(set, Sets.newTreeSet(asList("a", "b", "c")));
        assertEquals(Sets.newTreeSet(asList("a", "b", "c")), set);
        assertFalse(set.equals(Sets.newTreeSet(asList("a", "b", "d"))));
        assertFalse(Sets.newTreeSet(asList("a", "b", "d")).equals(set));
        assertFalse(set.equals(Sets.newHashSet(4, 5, 6)));
        assertFalse(Sets.newHashSet(4, 5, 6).equals(set));
      }
    
    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)
  5. android/guava-tests/test/com/google/common/io/IoTestCase.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import com.google.common.collect.Sets;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        assertEquals("google", keySet.last());
        assertEquals(StringLength.COMPARATOR, keySet.comparator());
        assertEquals(Sets.<@Nullable String>newHashSet(null, "tree"), keySet.headSet("yahoo"));
        assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo"));
        assertEquals(Sets.newHashSet("tree"), keySet.subSet("ask", "yahoo"));
      }
    
      @GwtIncompatible // SerializableTester
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/Striped64.java

       * contention. See above for explanation. This method suffers the usual non-modularity problems of
       * optimistic retry code, relying on rechecked sets of reads.
       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Lists.newArrayList(Sets.newTreeSet(insertionOrder));
                      }
                    })
                .named("ForwardingNavigableSet[SafeTreeSet] with standard implementations")
                .withFeatures(
                    CollectionSize.ANY,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

      public AtomicDouble() {
        this(0.0);
      }
    
      /**
       * Gets the current value.
       *
       * @return the current value
       */
      public final double get() {
        return longBitsToDouble(value.get());
      }
    
      /**
       * Sets to the given value.
       *
       * @param newValue the new value
       */
      public final void set(double newValue) {
    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)
  10. android/guava/src/com/google/common/graph/EndpointPairIterator.java

    import static java.util.Objects.requireNonNull;
    
    import com.google.common.collect.AbstractIterator;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Sets;
    import java.util.Iterator;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 5K bytes
    - Viewed (0)
Back to top