Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 270 for Ordered (0.26 seconds)

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

       * ordering. {@code NavigableSet} on the other hand can specify a custom ordering via a {@link
       * Comparator}, which can violate the natural ordering. Using this method (or in general using
       * {@code Range}) with unnaturally-ordered sets can lead to unexpected and undefined behavior.
       *
       * @since 20.0
       */
      @GwtIncompatible // NavigableSet
      public static <K extends Comparable<? super K>> NavigableSet<K> subSet(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableCollection.java

       * the spliterator implementation.
       */
      static final int SPLITERATOR_CHARACTERISTICS =
          Spliterator.IMMUTABLE | Spliterator.NONNULL | Spliterator.ORDERED;
    
      ImmutableCollection() {}
    
      /** Returns an unmodifiable iterator across the elements in this collection. */
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

      // (which is fortunate because Animal Sniffer doesn't look for @IgnoreJRERequirement on fields)
      static final int SPLITERATOR_CHARACTERISTICS =
          Spliterator.IMMUTABLE | Spliterator.NONNULL | Spliterator.ORDERED;
    
      ImmutableCollection() {}
    
      /** Returns an unmodifiable iterator across the elements in this collection. */
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       */
      Spliterator.OfLong spliterator() {
        return Spliterators.spliterator(array, start, end, Spliterator.IMMUTABLE | Spliterator.ORDERED);
      }
    
      /**
       * Returns an immutable <i>view</i> of this array's values as a {@code List}; note that {@code
       * long} values are boxed into {@link Long} instances on demand, which can be very expensive. The
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/Graphs.java

        }
    
        return new TransposedNetwork<>(network);
      }
    
      static <N> EndpointPair<N> transpose(EndpointPair<N> endpoints) {
        if (endpoints.isOrdered()) {
          return EndpointPair.ordered(endpoints.target(), endpoints.source());
        }
        return endpoints;
      }
    
      // NOTE: this should work as long as the delegate graph's implementation of edges() (like that of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

        Spliterator<Entry<K, V>> entrySpliterator() {
          return Spliterators.spliterator(
              entryIterator(),
              size(),
              Spliterator.DISTINCT | Spliterator.NONNULL | Spliterator.IMMUTABLE | Spliterator.ORDERED);
        }
    
        @Override
        ImmutableSet<K> createKeySet() {
          return new ImmutableMapKeySet<>(this);
        }
    
        @Override
        ImmutableSet<Entry<K, V>> createEntrySet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableMultimap.java

              Collection<V> valueCollection = keyToValueCollectionEntry.getValue();
              return CollectSpliterators.map(
                  valueCollection.spliterator(),
                  Spliterator.ORDERED | Spliterator.NONNULL | Spliterator.IMMUTABLE,
                  (V value) -> immutableEntry(key, value));
            },
            Spliterator.SIZED | (this instanceof SetMultimap ? Spliterator.DISTINCT : 0),
            size());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       */
      Spliterator.OfDouble spliterator() {
        return Spliterators.spliterator(array, start, end, Spliterator.IMMUTABLE | Spliterator.ORDERED);
      }
    
      /**
       * Returns an immutable <i>view</i> of this array's values as a {@code List}; note that {@code
       * double} values are boxed into {@link Double} instances on demand, which can be very expensive.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       */
      Spliterator.OfInt spliterator() {
        return Spliterators.spliterator(array, start, end, Spliterator.IMMUTABLE | Spliterator.ORDERED);
      }
    
      /**
       * Returns an immutable <i>view</i> of this array's values as a {@code List}; note that {@code
       * int} values are boxed into {@link Integer} instances on demand, which can be very expensive.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Multisets.java

            (Entry<E> entry) -> Collections.nCopies(entry.getCount(), entry.getElement()).spliterator(),
            Spliterator.SIZED
                | (entrySpliterator.characteristics()
                    & (Spliterator.ORDERED | Spliterator.NONNULL | Spliterator.IMMUTABLE)),
            multiset.size());
      }
    
      /** An implementation of {@link Multiset#size}. */
      static int linearTimeSizeImpl(Multiset<?> multiset) {
        long size = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
Back to Top