Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for unmodifiableNavigableSet (0.27 sec)

  1. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Sets.unmodifiableNavigableSet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multisets.UnmodifiableMultiset;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.util.Comparator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Sets.unmodifiableNavigableSet;
    import static java.util.Collections.unmodifiableSortedSet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Collection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

          return set;
        }
        return new UnmodifiableNavigableSet<>(set);
      }
    
      static final class UnmodifiableNavigableSet<E extends @Nullable Object>
          extends ForwardingSortedSet<E> implements NavigableSet<E>, Serializable {
        private final NavigableSet<E> delegate;
        private final SortedSet<E> unmodifiableDelegate;
    
        UnmodifiableNavigableSet(NavigableSet<E> delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                    NavigableSet<String> innerSet = new TreeSet<>();
                    Collections.addAll(innerSet, elements);
                    return Collections.unmodifiableNavigableSet(innerSet);
                  }
                })
            .named("unmodifiableNavigableSet/TreeSet, natural")
            .withFeatures(
                CollectionFeature.KNOWN_ORDER,
                CollectionFeature.RESTRICTS_ELEMENTS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

                        return unmodifiableNavigableSet(set);
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Ordering.natural().sortedCopy(insertionOrder);
                      }
                    })
                .named("Sets.unmodifiableNavigableSet[TreeSet]")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .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())
              .put(SortedMap.class, ImmutableSortedMap.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)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .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())
              .put(SortedMap.class, ImmutableSortedMap.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)
  8. android/guava/src/com/google/common/collect/Multimaps.java

        }
    
        @Override
        <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
            Collection<E> collection) {
          if (collection instanceof NavigableSet) {
            return Sets.unmodifiableNavigableSet((NavigableSet<E>) collection);
          } else if (collection instanceof SortedSet) {
            return Collections.unmodifiableSortedSet((SortedSet<E>) collection);
          } else if (collection instanceof Set) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

          return navigableKeySet();
        }
    
        @Override
        public NavigableSet<K> navigableKeySet() {
          return Sets.unmodifiableNavigableSet(delegate.navigableKeySet());
        }
    
        @Override
        public NavigableSet<K> descendingKeySet() {
          return Sets.unmodifiableNavigableSet(delegate.descendingKeySet());
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

          return navigableKeySet();
        }
    
        @Override
        public NavigableSet<K> navigableKeySet() {
          return Sets.unmodifiableNavigableSet(delegate.navigableKeySet());
        }
    
        @Override
        public NavigableSet<K> descendingKeySet() {
          return Sets.unmodifiableNavigableSet(delegate.descendingKeySet());
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top