Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for ImmutableSortedSet (0.13 seconds)

  1. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(ImmutableSet.of(), ArbitraryInstances.get(ImmutableSet.class));
        assertEquals(ImmutableSortedSet.of(), ArbitraryInstances.get(SortedSet.class));
        assertEquals(ImmutableSortedSet.of(), ArbitraryInstances.get(ImmutableSortedSet.class));
        assertEquals(ImmutableList.of(), ArbitraryInstances.get(Collection.class));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(ImmutableSet.of(), ArbitraryInstances.get(ImmutableSet.class));
        assertEquals(ImmutableSortedSet.of(), ArbitraryInstances.get(SortedSet.class));
        assertEquals(ImmutableSortedSet.of(), ArbitraryInstances.get(ImmutableSortedSet.class));
        assertEquals(ImmutableList.of(), ArbitraryInstances.get(Collection.class));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertFreshInstance(new TypeToken<ImmutableSet<String>>() {});
      }
    
      public void testImmutableSortedSet() {
        assertFreshInstance(new TypeToken<ImmutableSortedSet<String>>() {});
      }
    
      public void testImmutableMultiset() {
        assertFreshInstance(new TypeToken<ImmutableSortedSet<String>>() {});
        assertNotInstantiable(new TypeToken<ImmutableMultiset<EmptyEnum>>() {});
      }
    
      public void testImmutableCollection() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

           * ImmutableSet.Builder but y is an ImmutableSortedSet.Builder (or vice versa). Certainly
           * ImmutableSortedSet.Builder.combine() is written as if its argument will never be a plain
           * ImmutableSet.Builder: It casts immediately to ImmutableSortedSet.Builder.)
           */
          copyIfNecessary();
          this.impl = this.impl.combine(other.impl);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

            ImmutableMap<String, String> immutableMap,
            Set<String> set,
            ImmutableSet<Integer> immutableSet,
            SortedSet<Number> sortedSet,
            ImmutableSortedSet<Number> immutableSortedSet,
            Multiset<String> multiset,
            ImmutableMultiset<Integer> immutableMultiset,
            Multimap<String, Integer> multimap,
            ImmutableMultimap<String, Integer> immutableMultimap,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      public void testGet_emptyList() {
        testGetOnEmpty(Collections.<String>emptyList());
      }
    
      public void testGet_sortedSet() {
        testGetOnAbc(ImmutableSortedSet.of("b", "c", "a"));
      }
    
      public void testGet_emptySortedSet() {
        testGetOnEmpty(ImmutableSortedSet.<String>of());
      }
    
      public void testGet_iterable() {
        testGetOnAbc(ImmutableSet.of("a", "b", "c"));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 45.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableList.java

       * order in which they appear in the input.
       *
       * <p>If your data has no duplicates, or you wish to deduplicate elements, use {@code
       * ImmutableSortedSet.copyOf(elements)}; if you want a {@code List} you can use its {@code
       * asList()} view.
       *
       * <p><b>Java 8+ users:</b> If you want to convert a {@link java.util.stream.Stream} to a sorted
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/MapsTest.java

            () -> map.headMap("r", false).tailMap("m", true).keySet().add("a"));
      }
    
      @GwtIncompatible // NavigableMap
      public void testAsMapNavigableEmpty() {
        NavigableSet<String> strings = ImmutableSortedSet.of();
        NavigableMap<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION);
        assertThat(map.entrySet()).isEmpty();
        assertTrue(map.isEmpty());
        assertThat(map.get("five")).isNull();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 62.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

            () -> map.headMap("r", false).tailMap("m", true).keySet().add("a"));
      }
    
      @GwtIncompatible // NavigableMap
      public void testAsMapNavigableEmpty() {
        NavigableSet<String> strings = ImmutableSortedSet.of();
        NavigableMap<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION);
        assertThat(map.entrySet()).isEmpty();
        assertTrue(map.isEmpty());
        assertThat(map.get("five")).isNull();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 65K bytes
    - Click Count (0)
Back to Top