- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 764 for reverse (0.04 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
public void testDescendingNavigation() { List<E> descending = new ArrayList<>(); for (Iterator<E> i = navigableSet.descendingIterator(); i.hasNext(); ) { descending.add(i.next()); } Collections.reverse(descending); assertEquals(values, descending); } public void testEmptySubSet() { NavigableSet<E> empty = navigableSet.subSet(e0(), false, e0(), false); assertEquals(new TreeSet<E>(), empty);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 8.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
* @author Sverre Sundsdal */ @GwtCompatible @NullMarked public class MinMaxPriorityQueueTest extends TestCase { private static final Ordering<Integer> SOME_COMPARATOR = Ordering.<Integer>natural().reverse(); @J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
*/ public static <T extends @Nullable Object> TopKSelector<T> greatest( int k, Comparator<? super T> comparator) { return new TopKSelector<>(Ordering.from(comparator).reverse(), k); } private final int k; private final Comparator<? super T> comparator; /* * We are currently considering the elements in buffer in the range [0, bufferSize) as candidates
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
ImmutableSortedMultiset<E> result = descendingMultiset; if (result == null) { return descendingMultiset = this.isEmpty() ? emptyMultiset(Ordering.from(comparator()).reverse()) : new DescendingImmutableSortedMultiset<E>(this); } return result; } /** * {@inheritDoc} *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 35.2K bytes - Click Count (0) -
guava/src/com/google/common/base/Functions.java
* <p>Note: if {@code map} is a {@link com.google.common.collect.BiMap BiMap} (or can be one), you * can use {@link com.google.common.collect.Maps#asConverter Maps.asConverter} instead to get a * function that also supports reverse conversion. * * <p>If you are okay with {@code null} being returned for an unrecognized key (instead of an * exception being thrown), you can use the method reference {@code map::get} instead. Note thatCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 15.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
assertEquals(Integer.valueOf(0), defaultConverter.convert("anything")); assertEquals("", defaultConverter.reverse().convert(123)); assertThat(defaultConverter.convert(null)).isNull(); assertThat(defaultConverter.reverse().convert(null)).isNull(); } } public void testConverterDefaultValue() { new ConverterDefaultValueChecker().check(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 47.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/BooleansTest.java
input = Arrays.copyOf(input, input.length); Booleans.reverse(input); assertThat(input).isEqualTo(expectedOutput); } private static void testReverse( boolean[] input, int fromIndex, int toIndex, boolean[] expectedOutput) { input = Arrays.copyOf(input, input.length); Booleans.reverse(input, fromIndex, toIndex); assertThat(input).isEqualTo(expectedOutput); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 25.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashFunction.java
* <i>any</i> eight bits could be consistently used. * <li><b>cryptographic:</b> certain hash functions such as {@link Hashing#sha512} are designed to * make it as infeasible as possible to reverse-engineer the input that produced a given hash * code, or even to discover <i>any</i> two distinct inputs that yield the same result. These
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.9K bytes - Click Count (0) -
guava/src/com/google/common/hash/HashFunction.java
* <i>any</i> eight bits could be consistently used. * <li><b>cryptographic:</b> certain hash functions such as {@link Hashing#sha512} are designed to * make it as infeasible as possible to reverse-engineer the input that produced a given hash * code, or even to discover <i>any</i> two distinct inputs that yield the same result. These
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.9K bytes - Click Count (0)