Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SortedSet (0.21 sec)

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

      }
    
      private static <E extends @Nullable Object> SortedSet<E> sortedSet(
          SortedSet<E> set, @CheckForNull Object mutex) {
        return new SynchronizedSortedSet<>(set, mutex);
      }
    
      static class SynchronizedSortedSet<E extends @Nullable Object> extends SynchronizedSet<E>
          implements SortedSet<E> {
        SynchronizedSortedSet(SortedSet<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

          implements SortedSet<E> {
    
        FilteredSortedSet(SortedSet<E> unfiltered, Predicate<? super E> predicate) {
          super(unfiltered, predicate);
        }
    
        @Override
        @CheckForNull
        public Comparator<? super E> comparator() {
          return ((SortedSet<E>) unfiltered).comparator();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

        }
    
        @Override
        public SortedSet<V> get(@ParametricNullness K key) {
          return Collections.unmodifiableSortedSet(delegate().get(key));
        }
    
        @Override
        public SortedSet<V> removeAll(@CheckForNull Object key) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param s
         *            要素がセットに配置されるコレクション
         * @return {@link ConcurrentSkipListSet}の新しいインスタンス
         * @see ConcurrentSkipListSet#ConcurrentSkipListSet(SortedSet)
         */
        public static <E> ConcurrentSkipListSet<E> newConcurrentSkipListSet(final SortedSet<? extends E> s) {
            return new ConcurrentSkipListSet<E>(s);
        }
    
        /**
         * {@link CopyOnWriteArrayList}の新しいインスタンスを作成して返します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 53.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      private static class NonNavigableSortedSet extends ForwardingSortedSet<String> {
        private final SortedSet<String> delegate = Sets.newTreeSet();
    
        @Override
        protected SortedSet<String> delegate() {
          return delegate;
        }
      }
    
      public void testAsMapSorted() {
        SortedSet<String> strings = new NonNavigableSortedSet();
        Collections.addAll(strings, "one", "two", "three");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      private static class NonNavigableSortedSet extends ForwardingSortedSet<String> {
        private final SortedSet<String> delegate = Sets.newTreeSet();
    
        @Override
        protected SortedSet<String> delegate() {
          return delegate;
        }
      }
    
      public void testAsMapSorted() {
        SortedSet<String> strings = new NonNavigableSortedSet();
        Collections.addAll(strings, "one", "two", "three");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      /**
       * Utility method to verify that the given SortedSet is equal to and hashes identically to a set
       * constructed with the elements in the given iterable. Also verifies that the comparator is the
       * same as the given comparator.
       */
      private static <E> void verifySortedSetContents(
          SortedSet<E> set, Iterable<E> iterable, @Nullable Comparator<E> comparator) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
Back to top