- Sort Score
- Num 10 results
- Language All
Results 911 - 920 of 1,243 for elemnt (0.05 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
} /** * {@inheritDoc} * * <p>The {@code AbstractListTester} implementation overrides {@link * AbstractCollectionTester#expectContents(Collection)} to verify that the order of the elements * in the list under test matches what is expected. */ @Override protected void expectContents(Collection<E> expectedCollection) { List<E> expectedList = copyToList(expectedCollection);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java
requireNonNull(pluginBindings); final int len = pluginBindings.length; if (len < 2 || len % 2 != 0) { throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements"); } HashMap<String, LifecyclePhase> lifecyclePhaseBindings = new HashMap<>(len / 2); for (int i = 0; i < len; i = i + 2) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Dec 22 12:24:35 GMT 2024 - 3.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
} }; // Don't let the elements be in such a predictable order list = shuffledCopy(list, new Random(1)); sort(list, arbitrary); // Now we don't care what order it's put the list in, only that // comparing any pair of elements gives the answer we expect. testComparator(arbitrary, list); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
} }; // Don't let the elements be in such a predictable order list = shuffledCopy(list, new Random(1)); sort(list, arbitrary); // Now we don't care what order it's put the list in, only that // comparing any pair of elements gives the answer we expect. testComparator(arbitrary, list); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java
return mapGenerator.order(insertionOrder); } @Override public Map<K, V> create(Object... elements) { return SerializableTester.reserialize(mapGenerator.create(elements)); } @Override public K[] createKeyArray(int length) { return ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()).createKeyArray(length); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 11K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
} } /** * Sorts the elements of {@code array} in descending order. * * @since 23.1 */ public static void sortDescending(byte[] array) { checkNotNull(array); sortDescending(array, 0, array.length); } /** * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
if (values.size() >= 1) { a = values.get(0); if (values.size() >= 3) { b = values.get(1); c = values.get(2); } } } /** Resets the contents of navigableSet to have elements a, c, for the navigation tests. */ protected void resetWithHole() { super.resetContainer(getSubjectGenerator().create(a, c)); navigableSet = (NavigableSet<E>) getSet(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 8.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
*/ public void setEcsServiceName(final String ecsServiceName) { this.ecsServiceName = ecsServiceName; } /** * Set the ECS event dataset. * @param ecsEventDataset The ECS event dataset. */ public void setEcsEventDataset(final String ecsEventDataset) { this.ecsEventDataset = ecsEventDataset; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 11:45:43 GMT 2026 - 13.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
public void testRemoveAll_duplicate() { ArrayWithDuplicate<E> arrayAndDuplicate = createArrayWithDuplicateElement(); collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true", getList().removeAll(MinimalCollection.of(duplicate))); assertFalse(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
public void testRemoveAll_duplicate() { ArrayWithDuplicate<E> arrayAndDuplicate = createArrayWithDuplicateElement(); collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true", getList().removeAll(MinimalCollection.of(duplicate))); assertFalse(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.4K bytes - Click Count (0)