Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for Sets (0.14 sec)

  1. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node sets are the same, but edge sets differ.
      @Test
      public void equivalent_edgeSetsDiffer() {
        network.addEdge(N1, N2, E12);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addEdge(N1, N2, E13);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node/edge sets are the same, but node/edge connections differ due to edge type.
      @Test
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 22 19:09:27 GMT 2017
    - 5.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetsFilterNavigableSetTest.java

      @Override
      NavigableSet<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Sets.newTreeSet(contents);
      }
    
      @Override
      NavigableSet<Integer> filter(
          NavigableSet<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 16 21:55:55 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.Sets;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.testing.SerializableTester;
    import java.util.Arrays;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.Sets;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.testing.SerializableTester;
    import java.util.Arrays;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      // the CacheBuilder default).
      private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null);
      private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null);
      private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null);
      private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null);
      private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

        assertEquals("[" + JOINER.join(map.keySet()) + "]", map.keySet().toString());
        assertEquals("[" + JOINER.join(map.values()) + "]", map.values().toString());
    
        assertEquals(Sets.newHashSet(map.entrySet()), map.entrySet());
        assertEquals(Sets.newHashSet(map.keySet()), map.keySet());
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 09 16:16:28 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/ReferenceEntry.java

      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
      ReferenceEntry<K, V> getNextInAccessQueue();
    
      /** Sets the next entry in the access queue. */
      void setNextInAccessQueue(ReferenceEntry<K, V> next);
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  8. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      @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.
       *
       * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
       * 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)
  10. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.9K bytes
    - Viewed (0)
Back to top