Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for ImmutableSortedSet (0.14 sec)

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

                ContiguousSet.create(Range.open(0, 4), NOT_EQUAL_TO_INTEGERS),
                ImmutableSortedSet.of(1, 2, 3))
            .addEqualityGroup(
                ContiguousSet.create(Range.closedOpen(1, 1), integers()),
                ContiguousSet.closedOpen(1, 1),
                ContiguousSet.closedOpen(Integer.MIN_VALUE, Integer.MIN_VALUE),
                ImmutableSortedSet.of(),
                ImmutableSet.of())
            .testEquals();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedSet<String> set1 = ImmutableSortedSet.of("one");
        SortedSet<String> set2 = ImmutableSortedSet.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ContiguousSet.java

     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("rawtypes") // allow ungenerified Comparable types
    @ElementTypesAreNonnullByDefault
    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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        return (valueComparator == null)
            ? ImmutableSet.copyOf(values)
            : ImmutableSortedSet.copyOf(valueComparator, values);
      }
    
      private static <V> ImmutableSet<V> emptySet(@CheckForNull Comparator<? super V> valueComparator) {
        return (valueComparator == null)
            ? ImmutableSet.<V>of()
            : ImmutableSortedSet.<V>emptySet(valueComparator);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedSet<String> set1 = ImmutableSortedSet.of("one");
        SortedSet<String> set2 = ImmutableSortedSet.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        return (valueComparator == null)
            ? ImmutableSet.copyOf(values)
            : ImmutableSortedSet.copyOf(valueComparator, values);
      }
    
      private static <V> ImmutableSet<V> emptySet(@CheckForNull Comparator<? super V> valueComparator) {
        return (valueComparator == null)
            ? ImmutableSet.<V>of()
            : ImmutableSortedSet.<V>emptySet(valueComparator);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        NavigableSet<String> set1 = ImmutableSortedSet.of("one");
        NavigableSet<String> set2 = ImmutableSortedSet.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top