- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 785 for elemLen (0.29 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
} // Not specifying KNOWN_ORDER for PriorityQueue and PriorityBlockingQueue // even though they do have it, because our tests interpret KNOWN_ORDER to // also mean that the iterator returns the head element first, which those // don't. public Test testsForPriorityBlockingQueue() { return QueueTestSuiteBuilder.using( new TestStringQueueGenerator() { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 7.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
*/ protected abstract List<Float> create(Float[] elements); @Override public Float[] createArray(int length) { return new Float[length]; } /** Returns the original element list, unchanged. */ @Override public List<Float> order(List<Float> insertionOrder) { return insertionOrder; } } public static class SampleFloats extends SampleElements<Float> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
*/ protected abstract List<Float> create(Float[] elements); @Override public Float[] createArray(int length) { return new Float[length]; } /** Returns the original element list, unchanged. */ @Override public List<Float> order(List<Float> insertionOrder) { return insertionOrder; } } public static class SampleFloats extends SampleElements<Float> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
*/ protected abstract List<Integer> create(Integer[] elements); @Override public Integer[] createArray(int length) { return new Integer[length]; } /** Returns the original element list, unchanged. */ @Override public List<Integer> order(List<Integer> insertionOrder) { return insertionOrder; } } public static class SampleIntegers extends SampleElements<Integer> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimaps.java
public boolean contains(@Nullable Object element) { return multimap.containsKey(element); } @Override public Iterator<K> iterator() { return Maps.keyIterator(multimap.entries().iterator()); } @Override public int count(@Nullable Object element) { Collection<V> values = Maps.safeGet(multimap.asMap(), element); return (values == null) ? 0 : values.size();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 86K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multimaps.java
public boolean contains(@Nullable Object element) { return multimap.containsKey(element); } @Override public Iterator<K> iterator() { return Maps.keyIterator(multimap.entries().iterator()); } @Override public int count(@Nullable Object element) { Collection<V> values = Maps.safeGet(multimap.asMap(), element); return (values == null) ? 0 : values.size();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 86.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
/** * Sets {@code table[index]} to {@code entry}, where {@code table} is actually a {@code byte[]}, * {@code short[]}, or {@code int[]}. The value of {@code entry} should fit in the size of the * assigned array element, when seen as an unsigned value. So if {@code table} is a {@code byte[]} * then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then weCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
} /** * Concatenates elements of a class name. * * @param s1 * The first element of the class name * @param s2 * The second element of the class name * @return The concatenated name */ public static String concatName(final String s1, final String s2) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 25.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterator)); assertThat(expected).hasMessageThat().isEqualTo("expected one element but was: <one, two>"); } public void testGetOnlyElement_noDefault_fiveElements() { Iterator<String> iterator = asList("one", "two", "three", "four", "five").iterator(); IllegalArgumentException expected =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
List<E> containsNull = singletonList(null); assertTrue("addAll(containsNull) should return true", collection.addAll(containsNull)); /* * We need (E) to force interpretation of null as the single element of a * varargs array, not the array itself */ expectAdded((E) null); } @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.9K bytes - Click Count (0)