- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,006 for element (0.04 sec)
-
android/guava/src/com/google/common/collect/PeekingIterator.java
/** * Returns the next element in the iteration, without advancing the iteration. * * <p>Calls to {@code peek()} should not change the state of the iteration, except that it * <i>may</i> prevent removal of the most recent element via {@link #remove()}. * * @throws NoSuchElementException if the iteration has no more elements according to {@link * #hasNext()} */ @ParametricNullnessRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
* * List<String> list = ...; * Set<String> set = ...; * Map<String, Object> map = ...; * for (String element : iterable(list, set, map.keySet())) { * ... * } * </pre> * * @author koichik * @param <E> the element type */ public class MultiIterator<E> implements Iterator<E> { /** Array of {@link Iterator}s. */ protected final Iterator<E>[] iterators;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocRenderer.java
memberRenderers.add(new BlocksRenderer(linkRenderer, listener)); } public void mergeContent(ClassDoc classDoc, Element parent) { listener.start(String.format("class %s", classDoc.getName())); try { Element chapter = parent.getOwnerDocument().createElement("chapter"); parent.appendChild(chapter); chapter.setAttribute("id", classDoc.getId());
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java
assertEquals(1, queue.remainingCapacity()); assertTrue(queue.add("hi")); assertEquals("hi", queue.element()); assertEquals("hi", queue.peek()); assertEquals(1, queue.size()); assertEquals(0, queue.remainingCapacity()); assertTrue(queue.add("there")); assertEquals("there", queue.element()); assertEquals("there", queue.peek()); assertEquals(1, queue.size());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java
public Collection<String> create(String[] elements) { // TODO: MinimalCollection should perhaps throw for (Object element : elements) { if (element == null) { throw new NullPointerException(); } } return MinimalCollection.of(elements); } })
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java
* fixed number of elements that may be retrieved by position. It does not support {@link #remove}, * {@link #set}, or {@link #add}. * * @author Jared Levy */ @GwtCompatible abstract class AbstractIndexedListIterator<E extends @Nullable Object> extends UnmodifiableListIterator<E> { private final int size; private int position;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Serialization.java
* support concurrent multisets whose content may change while the method is running. * * <p>The serialized output consists of the number of distinct elements, the first element, its * count, the second element, its count, and so on. */ static <E extends @Nullable Object> void writeMultiset( Multiset<E> multiset, ObjectOutputStream stream) throws IOException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 6.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
@JsMethod(name = "of") static <E> ImmutableList<E> jsOf(E... elements) { return copyOf(elements); } public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) { checkNotNull(elements); // for GWT return (elements instanceof Collection) ? copyOf((Collection<? extends E>) elements) : copyOf(elements.iterator()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
} @Override public @Nullable E peek() { assertTrue(Thread.holdsLock(mutex)); return delegate.peek(); } @Override public E element() { assertTrue(Thread.holdsLock(mutex)); return delegate.element(); } @Override public Iterator<E> iterator() { // We explicitly don't lock for iterator() assertFalse(Thread.holdsLock(mutex));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/DslElementDoc.java
* limitations under the License. */ package gradlebuild.docs.dsl.docbook.model; import org.w3c.dom.Element; import java.util.List; public interface DslElementDoc { String getId(); Element getDescription(); List<Element> getComment(); boolean isDeprecated(); boolean isIncubating(); boolean isReplaced(); String getReplacement();Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 949 bytes - Viewed (0)