- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 344 for Reverse (0.11 sec)
-
guava/src/com/google/common/collect/DescendingImmutableSortedSet.java
final class DescendingImmutableSortedSet<E> extends ImmutableSortedSet<E> { private final ImmutableSortedSet<E> forward; DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) { super(Ordering.from(forward.comparator()).reverse()); this.forward = forward; } @Override public boolean contains(@CheckForNull Object object) { return forward.contains(object); } @Override public int size() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.2K bytes - Viewed (0) -
gradlew
ulimit -n "$MAX_FD" || warn "Could not set maximum file descriptor limit to $MAX_FD" esac fi # Collect all arguments for the java command, stacking in reverse order: # * args from the command line # * the main class name # * -classpath # * -D...appname settings # * --module-path (only if needed)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 24 09:00:26 UTC 2023 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
Lists.newArrayList(4, 3, 2, 1), fluent(4, 1, 3, 2).toSortedList(Ordering.<Integer>natural().reverse())); } public void testToSortedList_withDuplicates() { assertEquals( Lists.newArrayList(4, 3, 1, 1), fluent(1, 4, 1, 3).toSortedList(Ordering.<Integer>natural().reverse())); } public void testToSet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
* * @since 7.0 */ public static <T extends @Nullable Object> List<T> reverse(List<T> list) { if (list instanceof ImmutableList) { // Avoid nullness warnings. List<?> reversed = ((ImmutableList<?>) list).reverse(); @SuppressWarnings("unchecked") List<T> result = (List<T>) reversed; return result; } else if (list instanceof ReverseList) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
input = Arrays.copyOf(input, input.length); Bytes.reverse(input); assertThat(input).isEqualTo(expectedOutput); } private static void testReverse(byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) { input = Arrays.copyOf(input, input.length); Bytes.reverse(input, fromIndex, toIndex); assertThat(input).isEqualTo(expectedOutput); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
return Lists.equalsImpl(this, obj); } @Override public int hashCode() { return Lists.hashCodeImpl(this); } public ImmutableList<E> reverse() { List<E> list = Lists.newArrayList(this); Collections.reverse(list); return unsafeDelegateList(list); } public static <E> Builder<E> builder() { return new Builder<E>(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 22:14:46 UTC 2024 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingObject.java
* such custom interfaces directly; they are implemented only in subclasses. Therefore, forwarding * {@code equals} would break symmetry, as the forwarding object might consider itself equal to the * object being tested, but the reverse could not be true. This behavior is consistent with the * JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt
val os = Os.LINUX val type = performanceTestSpec.type applyDefaultSettings(os) params { text( "reverse.dep.*.performance.baselines", type.defaultBaselines, display = ParameterDisplay.PROMPT, allowEmpty = true,
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Sep 10 13:15:00 UTC 2024 - 5.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
List<T> list = Arrays.asList(inputs); doExpectCollects(expectedResult, list); if (collector.characteristics().contains(Collector.Characteristics.UNORDERED)) { Collections.reverse(list); doExpectCollects(expectedResult, list); } return this; } private void doExpectCollects(R expectedResult, List<T> inputs) { for (CollectStrategy scheme : CollectStrategy.values()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 6.5K bytes - Viewed (0)