Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isOrdered (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertFalse(numberOrdering.isOrdered(asList(5, 3, 0, 9)));
        assertFalse(numberOrdering.isOrdered(asList(0, 5, 3, 9)));
        assertTrue(numberOrdering.isOrdered(asList(0, 3, 5, 9)));
        assertTrue(numberOrdering.isOrdered(asList(0, 0, 3, 3)));
        assertTrue(numberOrdering.isOrdered(asList(0, 3)));
        assertTrue(numberOrdering.isOrdered(singleton(1)));
        assertTrue(numberOrdering.isOrdered(Collections.<Integer>emptyList()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertFalse(numberOrdering.isOrdered(asList(5, 3, 0, 9)));
        assertFalse(numberOrdering.isOrdered(asList(0, 5, 3, 9)));
        assertTrue(numberOrdering.isOrdered(asList(0, 3, 5, 9)));
        assertTrue(numberOrdering.isOrdered(asList(0, 0, 3, 3)));
        assertTrue(numberOrdering.isOrdered(asList(0, 3)));
        assertTrue(numberOrdering.isOrdered(singleton(1)));
        assertTrue(numberOrdering.isOrdered(Collections.<Integer>emptyList()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

                    (Comparator<? super E>) Comparator.<Comparable>naturalOrder();
                comparator = naturalOrder;
              }
              assertTrue(Ordering.from(comparator).isOrdered(resultsForStrategy));
            }
            if ((characteristics & Spliterator.SIZED) != 0) {
              assertEquals(Ints.checkedCast(estimatedSize), resultsForStrategy.size());
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

                    (Comparator<? super E>) Comparator.<Comparable>naturalOrder();
                comparator = naturalOrder;
              }
              assertTrue(Ordering.from(comparator).isOrdered(resultsForStrategy));
            }
            if ((characteristics & Spliterator.SIZED) != 0) {
              assertEquals(Ints.checkedCast(estimatedSize), resultsForStrategy.size());
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/AbstractNetwork.java

        checkNotNull(endpoints);
        checkArgument(isOrderingCompatible(endpoints), ENDPOINTS_MISMATCH);
      }
    
      protected final boolean isOrderingCompatible(EndpointPair<?> endpoints) {
        return endpoints.isOrdered() == this.isDirected();
      }
    
      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof Network)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/AbstractNetwork.java

        checkNotNull(endpoints);
        checkArgument(isOrderingCompatible(endpoints), ENDPOINTS_MISMATCH);
      }
    
      protected final boolean isOrderingCompatible(EndpointPair<?> endpoints) {
        return endpoints.isOrdered() == this.isDirected();
      }
    
      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof Network)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

     *
     * <p>Finally, use the resulting {@code Ordering} anywhere a {@link Comparator} is required, or use
     * any of its special operations, such as:
     *
     * <ul>
     *   <li>{@link #immutableSortedCopy}
     *   <li>{@link #isOrdered} / {@link #isStrictlyOrdered}
     *   <li>{@link #min} / {@link #max}
     * </ul>
     *
     * <h3>Understanding complex orderings</h3>
     *
     * <p>Complex chained orderings like the following example can be challenging to understand.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Ordering.java

     *
     * <p>Finally, use the resulting {@code Ordering} anywhere a {@link Comparator} is required, or use
     * any of its special operations, such as:
     *
     * <ul>
     *   <li>{@link #immutableSortedCopy}
     *   <li>{@link #isOrdered} / {@link #isStrictlyOrdered}
     *   <li>{@link #min} / {@link #max}
     * </ul>
     *
     * <h3>Understanding complex orderings</h3>
     *
     * <p>Complex chained orderings like the following example can be challenging to understand.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. api/go1.5.txt

    pkg go/types, const IsInteger = 2
    pkg go/types, const IsInteger BasicInfo
    pkg go/types, const IsNumeric = 26
    pkg go/types, const IsNumeric BasicInfo
    pkg go/types, const IsOrdered = 42
    pkg go/types, const IsOrdered BasicInfo
    pkg go/types, const IsString = 32
    pkg go/types, const IsString BasicInfo
    pkg go/types, const IsUnsigned = 4
    pkg go/types, const IsUnsigned BasicInfo
    pkg go/types, const IsUntyped = 64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top