- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 853 for reverse (0.06 sec)
-
guava/src/com/google/common/collect/GeneralRange.java
} @LazyInit @CheckForNull private transient GeneralRange<T> reverse; /** Returns the same range relative to the reversed comparator. */ GeneralRange<T> reverse() { GeneralRange<T> result = reverse; if (result == null) { result = new GeneralRange<>( Ordering.from(comparator).reverse(), hasUpperBound, getUpperEndpoint(),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
assertThat(max(a, b)).isSameInstanceAs(a); } public void testMinMaxComparator() { Comparator<Integer> reverse = reverseOrder(); assertThat(min(1, 2, reverse)).isEqualTo(2); assertThat(min(2, 1, reverse)).isEqualTo(2); assertThat(max(1, 2, reverse)).isEqualTo(1); assertThat(max(2, 1, reverse)).isEqualTo(1); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
return count; } /** * Reverses the elements of {@code array}. This is equivalent to {@code * Collections.reverse(Booleans.asList(array))}, but is likely to be more efficient. * * @since 23.1 */ public static void reverse(boolean[] array) { checkNotNull(array); reverse(array, 0, array.length); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 20.4K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
return count; } /** * Reverses the elements of {@code array}. This is equivalent to {@code * Collections.reverse(Booleans.asList(array))}, but is likely to be more efficient. * * @since 23.1 */ public static void reverse(boolean[] array) { checkNotNull(array); reverse(array, 0, array.length); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 20.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CaseFormatTest.java
assertEquals("FOO_BAR", UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).reverse().convert("FooBar")); assertEquals("FOO_BAR", UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).reverse().convert("fooBar")); assertEquals("FooBar", UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).reverse().convert("FOO_BAR")); assertEquals("fooBar", LOWER_CAMEL.converterTo(UPPER_UNDERSCORE).reverse().convert("FOO_BAR")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); assertEquals("CHEETO", converter.reverse().convert(TestEnum.CHEETO)); assertEquals("HONDA", converter.reverse().convert(TestEnum.HONDA)); assertEquals("POODLE", converter.reverse().convert(TestEnum.POODLE)); } @J2ktIncompatible @GwtIncompatible // stringConverter
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 8.7K bytes - Viewed (0) -
.teamcity/src/main/kotlin/projects/CheckProject.kt
) text( "reverse.dep.*.additional.gradle.parameters", "", display = ParameterDisplay.NORMAL, allowEmpty = true, description = "The extra gradle parameters you want to pass to all dependencies of this build, e.g. `-PrerunAllTests` or `--no-build-cache`" ) text( "reverse.dep.*.skip.build", "",
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 22 07:02:31 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
Arrays.sort(array, fromIndex, toIndex); reverse(array, fromIndex, toIndex); } /** * Reverses the elements of {@code array}. This is equivalent to {@code * Collections.reverse(Ints.asList(array))}, but is likely to be more efficient. * * @since 23.1 */ public static void reverse(int[] array) { checkNotNull(array); reverse(array, 0, array.length); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 31K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
} } boolean reverse = false; if (jdk.startsWith("!")) { reverse = true; jdk = jdk.substring(1); } if (getJdkVersion().startsWith(jdk)) { return !reverse; } else { return reverse; } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ReverseOrdering.java
import java.io.Serializable; import java.util.Iterator; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** An ordering that uses the reverse of a given order. */ @GwtCompatible(serializable = true) @ElementTypesAreNonnullByDefault final class ReverseOrdering<T extends @Nullable Object> extends Ordering<T> implements Serializable {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 3.2K bytes - Viewed (0)