- Sort Score
- Num 10 results
- Language All
Results 71 - 73 of 73 for ImmutableSortedSet (0.1 seconds)
-
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
return ImmutableSet.copyOf(contents); } }, ImmutableSortedSetImpl { @Override public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { return ImmutableSortedSet.copyOf(contents); } }, ContiguousSetImpl { @Override public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { return ContiguousSet.copyOf(contents);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 12.5K bytes - Click Count (0) -
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 sortedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.6K bytes - Click Count (0) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0)