Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for ImmutableSortedSet (0.35 sec)

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

     *
     * @author Gregory Kick
     * @since 10.0
     */
    @GwtCompatible
    @SuppressWarnings("rawtypes") // allow ungenerified Comparable types
    public abstract class ContiguousSet<C extends Comparable> extends ImmutableSortedSet<C> {
      /**
       * Returns a {@code ContiguousSet} containing the same values in the given domain {@linkplain
       * Range#contains contained} by the range.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/FluentIterable.java

      }
    
      /**
       * Returns an {@code ImmutableSortedSet} containing all of the elements from this {@code
       * FluentIterable} in the order specified by {@code comparator}, with duplicates (determined by
       * {@code comparator.compare(x, y) == 0}) removed. To produce an {@code ImmutableSortedSet} sorted
       * by its natural ordering, use {@code toSortedSet(Ordering.natural())}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        }
      }
    
      private transient @Nullable ImmutableSortedSet<K> keySet;
    
      @Override
      public ImmutableSortedSet<K> keySet() {
        ImmutableSortedSet<K> ks = keySet;
        return (ks == null) ? (keySet = createKeySet()) : ks;
      }
    
      @Override
      ImmutableSortedSet<K> createKeySet() {
        // the keySet() of the delegate is only a Set and TreeMap.navigatableKeySet
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ContiguousSet.java

     *
     * @author Gregory Kick
     * @since 10.0
     */
    @GwtCompatible
    @SuppressWarnings("rawtypes") // allow ungenerified Comparable types
    public abstract class ContiguousSet<C extends Comparable> extends ImmutableSortedSet<C> {
      /**
       * Returns a {@code ContiguousSet} containing the same values in the given domain {@linkplain
       * Range#contains contained} by the range.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. 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));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ImmutableList.class, ImmutableList.of())
              .put(Set.class, ImmutableSet.of())
              .put(ImmutableSet.class, ImmutableSet.of())
              .put(SortedSet.class, ImmutableSortedSet.of())
              .put(ImmutableSortedSet.class, ImmutableSortedSet.of())
              .put(NavigableSet.class, Sets.unmodifiableNavigableSet(Sets.newTreeSet()))
              .put(Map.class, ImmutableMap.of())
              .put(ImmutableMap.class, ImmutableMap.of())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  7. 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));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testFirst_sortedSet() {
        SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a");
        assertThat(FluentIterable.from(sortedSet).first()).hasValue("a");
      }
    
      public void testFirst_emptySortedSet() {
        SortedSet<String> sortedSet = ImmutableSortedSet.of();
        assertThat(FluentIterable.from(sortedSet).first()).isAbsent();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. 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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/RangeTest.java

        // path, so we test that separately
        assertTrue(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5)));
        assertTrue(range.containsAll(ImmutableSortedSet.of(3)));
        assertTrue(range.containsAll(ImmutableSortedSet.<Integer>of()));
        assertFalse(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5, 6)));
    
        assertTrue(Range.openClosed(3, 3).containsAll(Collections.<Integer>emptySet()));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top