Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 370 for Sets (0.33 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> set = of("a", "b");
        assertEquals(Sets.newHashSet("a", "b"), set);
      }
    
      public void testCreation_threeElements() {
        Set<String> set = of("a", "b", "c");
        assertEquals(Sets.newHashSet("a", "b", "c"), set);
      }
    
      public void testCreation_fourElements() {
        Set<String> set = of("a", "b", "c", "d");
        assertEquals(Sets.newHashSet("a", "b", "c", "d"), set);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

    /**
     * GWT emulated version of {@link com.google.common.collect.ImmutableSet}. For the unsorted sets,
     * they are thin wrapper around {@link java.util.Collections#emptySet()}, {@link
     * Collections#singleton(Object)} and {@link java.util.LinkedHashSet} for empty, singleton and
     * regular sets respectively. For the sorted sets, it's a thin wrapper around {@link
     * java.util.TreeSet}.
     *
     * @see ImmutableSortedSet
     * @author Hayward Chan
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

    /**
     * Basic implementation of the {@link SortedSetMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into sorted sets. The {@link
     * #createCollection} method must return a {@code SortedSet}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

    /**
     * Basic implementation of the {@link SortedSetMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into sorted sets. The {@link
     * #createCollection} method must return a {@code SortedSet}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/package-info.java

     * limitations under the License.
     */
    
    /**
     * An API for representing graph (node and edge) data. It is analogous to the Java Collections
     * Framework APIs for lists, maps, sets, etc.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     */
    @CheckReturnValue
    @ParametersAreNonnullByDefault
    package com.google.common.graph;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 22:32:46 GMT 2017
    - 1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

      }
    
      // Node/edge sets are the same, but node/edge connections differ due to edge type.
      @Test
      public void equivalent_directedVsUndirected() {
        graph.putEdge(N1, N2);
    
        MutableGraph<Integer> g2 = createGraph(oppositeType(edgeType));
        g2.putEdge(N1, N2);
    
        assertThat(graph).isNotEqualTo(g2);
      }
    
      // Node/edge sets and node/edge connections are the same, but directedness differs.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 22 19:09:27 GMT 2017
    - 4.7K bytes
    - Viewed (0)
Back to top