- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 924 for Elements (0.07 sec)
-
android/guava/src/com/google/common/collect/Iterators.java
* elements. */ @SafeVarargs public static <T extends @Nullable Object> Iterator<T> cycle(T... elements) { return cycle(Lists.newArrayList(elements)); } /** * Returns an Iterator that walks the specified array, nulling out elements behind it. This can * avoid memory leaks when an element is no longer necessary. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy
package gradlebuild.docs import groovy.xml.dom.DOMCategory import org.w3c.dom.Element import org.w3c.dom.Node class BuildableDOMCategory extends DOMCategory { public static void setText(Element element, String value) { while (element.hasChildNodes()) { element.removeChild(element.getFirstChild()) } element.appendChild(element.ownerDocument.createTextNode(value)) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 11 15:32:19 UTC 2022 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
+ " even if some elements are null.", getSet().equals(MinimalSet.from(elements))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherContainsNull() { Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(null); Set<E> other = MinimalSet.from(elements); assertFalse(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
+ " even if some elements are null.", getSet().equals(MinimalSet.from(elements))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherContainsNull() { Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(null); Set<E> other = MinimalSet.from(elements); assertFalse(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
int size = elements.length; // Remove last element, if size > 1 Set<String> set1 = (size > 1) ? newHashSet(asList(elements).subList(0, size - 1)) : newHashSet(elements); // Remove first element, if size > 0
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
// also mean that the iterator returns the head element first, which those // don't. public Test testsForPriorityBlockingQueue() { return QueueTestSuiteBuilder.using( new TestStringQueueGenerator() { @Override public Queue<String> create(String[] elements) { return new PriorityBlockingQueue<>(MinimalCollection.of(elements)); } })
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
@Override protected List<Float> create(Float[] elements) { return asList(elements); } } public static final class FloatsAsListHeadSubListGenerator extends TestFloatListGenerator { @Override protected List<Float> create(Float[] elements) { Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE}; Float[] all = concat(elements, suffix); return asList(all).subList(0, elements.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
@Override protected List<Float> create(Float[] elements) { return asList(elements); } } public static final class FloatsAsListHeadSubListGenerator extends TestFloatListGenerator { @Override protected List<Float> create(Float[] elements) { Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE}; Float[] all = concat(elements, suffix); return asList(all).subList(0, elements.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
@Override protected List<Integer> create(Integer[] elements) { return asList(elements); } } public static final class IntsAsListHeadSubListGenerator extends TestIntegerListGenerator { @Override protected List<Integer> create(Integer[] elements) { Integer[] suffix = {Integer.MIN_VALUE, Integer.MAX_VALUE}; Integer[] all = concat(elements, suffix); return asList(all).subList(0, elements.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableSet.java
return Spliterators.spliterator(elements, SPLITERATOR_CHARACTERISTICS); } @Override Object[] internalArray() { return elements; } @Override int internalArrayStart() { return 0; } @Override int internalArrayEnd() { return elements.length; } @Override int copyIntoArray(@Nullable Object[] dst, int offset) { arraycopy(elements, 0, dst, offset, elements.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0)