- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 291 for ordered (0.06 sec)
-
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
iter.remove(); // forward map ordered by currency assertThat(bimap.keySet()).containsExactly(Currency.FRANC, Currency.PESO).inOrder(); // forward map ordered by currency (even for country values) assertThat(bimap.values()).containsExactly(Country.SWITZERLAND, Country.CHILE).inOrder(); // backward map ordered by country assertThat(bimap.inverse().keySet())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
this.spliteratorSuppliers = checkNotNull(spliteratorSuppliers); } @SafeVarargs @CanIgnoreReturnValue public final Ordered expect(Object... elements) { return expect(asList(elements)); } @CanIgnoreReturnValue public final Ordered expect(Iterable<?> elements) { List<List<E>> resultsForAllStrategies = new ArrayList<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 12.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
this.spliteratorSuppliers = checkNotNull(spliteratorSuppliers); } @SafeVarargs @CanIgnoreReturnValue public final Ordered expect(Object... elements) { return expect(asList(elements)); } @CanIgnoreReturnValue public final Ordered expect(Iterable<?> elements) { List<List<E>> resultsForAllStrategies = new ArrayList<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java
public void testForEachKnownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add); List<E> expected = Helpers.copyToList(getOrderedElements()); assertEquals("Different ordered iteration", expected, elements); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
* comes from a data structure supporting efficient indexed random access, typically an array or * list. * * <p>The order of the resulting stream is defined if and only if the order of the original stream * was defined. */ public static <T extends @Nullable Object, R extends @Nullable Object> Stream<R> mapWithIndex(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 37.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
} map.put(entry.getKey(), entry.getValue()); } Iterable<Entry<K, V>> ordered = multimapGenerator.order(builder); LinkedHashMap<K, Collection<V>> orderedMap = new LinkedHashMap<>(); for (Entry<K, V> entry : ordered) { orderedMap.put(entry.getKey(), map.get(entry.getKey())); } return orderedMap.entrySet(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedLists.java
public int resultIndex(int higherIndex) { return ~higherIndex; } }; abstract int resultIndex(int higherIndex); } /** * Searches the specified naturally ordered list for the specified object using the binary search * algorithm. * * <p>Equivalent to {@link #binarySearch(List, Function, Object, Comparator, KeyPresentBehavior,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
return phases().stream().flatMap(Phase::allPhases); } /** * Collection of aliases. */ Collection<Alias> aliases(); /** * Pre-ordered list of phases. * If not provided, a default order will be computed. */ default Optional<List<String>> orderedPhases() { return Optional.empty(); } /** * A phase in the lifecycle. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Sep 24 07:54:24 UTC 2024 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
Helpers.testComparator(comparator, ordered); assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator); // The Java implementation. Comparator<byte[]> javaImpl = UnsignedBytes.lexicographicalComparatorJavaImpl(); Helpers.testComparator(javaImpl, ordered); assertThat(SerializableTester.reserialize(javaImpl)).isSameInstanceAs(javaImpl); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 13.4K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
// 2.0.X == 2-X == 2.0.0.X for any string x checkVersionsEqual("2-" + x, "2.0." + x); // previously ordered, now equals checkVersionsEqual("2-" + x, "2.0.0." + x); // previously ordered, now equals checkVersionsEqual("2.0." + x, "2.0.0." + x); // previously ordered, now equals } } @Test public void testMng7714() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14K bytes - Viewed (0)