- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 168 for naturally (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
assertTrue(isInOrder(ImmutableList.of(), Ordering.natural())); } public void testIsInStrictOrder() { assertFalse(isInStrictOrder(asList(5, 3, 0, 9), Ordering.natural())); assertFalse(isInStrictOrder(asList(0, 5, 3, 9), Ordering.natural())); assertTrue(isInStrictOrder(asList(0, 3, 5, 9), Ordering.natural())); assertFalse(isInStrictOrder(asList(0, 0, 3, 3), Ordering.natural()));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SortedIterablesTest.java
assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet())); assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet())); assertTrue( SortedIterables.hasSameComparator( Ordering.natural().reverse(), Sets.newTreeSet(Ordering.natural().reverse()))); } public void testComparator() { assertEquals(Ordering.natural(), SortedIterables.comparator(Sets.newTreeSet()));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java
/** * Create integer sets for testing collections that are sorted by natural ordering. * * @author Chris Povirk * @author Jared Levy */ @GwtCompatible @NullMarked public abstract class TestIntegerSortedSetGenerator extends TestIntegerSetGenerator { @Override protected abstract SortedSet<Integer> create(Integer[] elements); /** Sorts the elements by their natural ordering. */ /*Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 1.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
} public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1) { return ofInternal(Ordering.natural(), e1); } @SuppressWarnings("unchecked") public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1, E e2) { return ofInternal(Ordering.natural(), e1, e2); } @SuppressWarnings("unchecked")
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 15.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java
import com.google.common.annotations.GwtCompatible; import java.util.List; import java.util.SortedSet; import org.jspecify.annotations.NullMarked; /** * Create string sets for testing collections that are sorted by natural ordering. * * @author Jared Levy */ @GwtCompatible @NullMarked public abstract class TestStringSortedSetGenerator extends TestStringSetGenerator implements TestSortedSetGenerator<String> { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
.addEqualityGroup(Ordering.natural()) .testEquals(); reserializeAndAssert(comparator); assertEquals("Ordering.natural().reverse().onResultOf(STRING_LENGTH)", comparator.toString()); } public void testLexicographical() { Ordering<String> ordering = Ordering.natural(); Ordering<Iterable<String>> lexy = ordering.lexicographical();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
.addEqualityGroup(Ordering.natural()) .testEquals(); reserializeAndAssert(comparator); assertEquals("Ordering.natural().reverse().onResultOf(STRING_LENGTH)", comparator.toString()); } public void testLexicographical() { Ordering<String> ordering = Ordering.natural(); Ordering<Iterable<String>> lexy = ordering.lexicographical();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
@SuppressWarnings("unchecked") static final Comparator<?> NATURAL_ORDER = Ordering.natural(); private final transient SortedMap<K, V> sortedDelegate; // The comparator used by this map. It's the same as that of sortedDelegate, // except that when sortedDelegate's comparator is null, it points to a // non-null instance of Ordering.natural(). // (cpovirk: Is sortedDelegate's comparator really ever null?)Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 16.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java
super(buildMessage(message, problems), null); this.problems = problems; } /** * Formats message out of problems: problems are sorted (in natural order of {@link BuilderProblem.Severity}) * and then a list is built. These exceptions are usually thrown in "fatal" cases (and usually prevent Maven * from starting), and these exceptions may end up very early on output.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java
} public void testFromRangeAll() { assertEquals(GeneralRange.all(Ordering.natural()), GeneralRange.from(Range.all())); } public void testFromRangeOneEnd() { for (BoundType endpointType : BoundType.values()) { assertEquals( GeneralRange.upTo(Ordering.natural(), 3, endpointType), GeneralRange.from(Range.upTo(3, endpointType))); assertEquals(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0)