Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 186 for Ordered (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

      @Override
      @GwtIncompatible // Spliterator
      Spliterator<Entry<K, V>> entrySpliterator() {
        return CollectSpliterators.map(
            delegate.entrySet().spliterator(),
            Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.IMMUTABLE | Spliterator.NONNULL,
            Maps::unmodifiableEntry);
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        delegate.forEach(action);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ArrayTable.java

            }
          };
        }
    
        @Override
        @GwtIncompatible // Spliterator
        Spliterator<Entry<K, V>> entrySpliterator() {
          return CollectSpliterators.indexed(
              size(), Spliterator.ORDERED | Spliterator.DISTINCT | Spliterator.NONNULL, this::getEntry);
        }
    
        // TODO(lowasser): consider an optimized values() implementation
    
        @Override
        public boolean containsKey(@Nullable Object key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

    public abstract class ImmutableCollection<E> extends AbstractCollection<E> implements Serializable {
      static final int SPLITERATOR_CHARACTERISTICS =
          Spliterator.IMMUTABLE | Spliterator.NONNULL | Spliterator.ORDERED;
    
      ImmutableCollection() {}
    
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
      @Override
      public boolean contains(@Nullable Object object) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/graph/PackageSanityTests.java

        setDistinctValues(NetworkBuilder.class, networkBuilderA, networkBuilderB);
        setDistinctValues(Network.class, IMMUTABLE_NETWORK_A, IMMUTABLE_NETWORK_B);
        setDefault(EndpointPair.class, EndpointPair.ordered("A", "B"));
      }
    
      @Override
      public void testNulls() throws Exception {
        try {
          super.testNulls();
        } catch (AssertionError e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

     */
    @NullUnmarked
    public abstract class AbstractStandardUndirectedNetworkTest extends AbstractNetworkTest {
      private static final EndpointPair<Integer> ENDPOINTS_N1N2 = EndpointPair.ordered(N1, N2);
      private static final EndpointPair<Integer> ENDPOINTS_N2N1 = EndpointPair.ordered(N2, N1);
    
      @After
      public void validateUndirectedEdges() {
        for (Integer node : network.nodes()) {
          new EqualsTester()
              .addEqualityGroup(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 19K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

     * @author George van den Driessche
     */
    // TODO: Descriptive assertion messages, with hints as to probable fixes.
    // TODO: Add another constructor parameter indicating whether the class under test is ordered, and
    // check the order if so.
    // TODO: Refactor to share code with SetTestBuilder etc.
    @GwtCompatible
    @NullMarked
    public abstract class MapInterfaceTest<K extends @Nullable Object, V extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

     * @author Kevin Bourrillion
     */
    @GwtCompatible
    abstract class ImmutableMapEntrySet<K, V> extends ImmutableSet.CachingAsList<Entry<K, V>> {
      private static final int SPLITERATOR_CHARACTERISTICS =
          Spliterator.ORDERED | Spliterator.DISTINCT | Spliterator.NONNULL | Spliterator.IMMUTABLE;
    
      static final class RegularEntrySet<K, V> extends ImmutableMapEntrySet<K, V> {
        private final transient ImmutableMap<K, V> map;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/CollectSpliterators.java

          }
    
          @Override
          public long estimateSize() {
            return delegate.estimateSize();
          }
    
          @Override
          public int characteristics() {
            return Spliterator.ORDERED
                | Spliterator.SIZED
                | Spliterator.SUBSIZED
                | extraCharacteristics;
          }
    
          @Override
          public @Nullable Comparator<? super T> getComparator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  9. android/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
    - 81.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    unhappy at the number of executions the Queen had ordered.
    
      They very soon came upon a Gryphon, lying fast asleep in the
    sun.  (IF you don't know what a Gryphon is, look at the picture.)
    `Up, lazy thing!' said the Queen, `and take this young lady to
    see the Mock Turtle, and to hear his history.  I must go back and
    see after some executions I have ordered'; and she walked off,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Click Count (0)
Back to Top