- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for EmptyIterator (0.06 sec)
-
src/main/java/org/codelibs/core/collection/EmptyIterator.java
/** * An empty {@link Iterator}. * * @author higa * @param <T> the element type */ public class EmptyIterator<T> implements Iterator<T> { /** * Creates an {@link EmptyIterator}. */ public EmptyIterator() { } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); } @Override
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
import static com.google.common.base.Predicates.compose; import static com.google.common.base.Predicates.in; import static com.google.common.base.Predicates.not; import static com.google.common.collect.Iterators.emptyIterator; import static com.google.common.collect.Maps.immutableEntry; import static java.util.Collections.emptyMap; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 22.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testGetOnlyElement_withDefault_empty() { Iterator<String> iterator = emptyIterator(); assertEquals("bar", getOnlyElement(iterator, "bar")); } public void testGetOnlyElement_withDefault_empty_null() { Iterator<String> iterator = emptyIterator(); assertNull(Iterators.<@Nullable String>getOnlyElement(iterator, null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EmptyContiguousSet.java
int indexOf(@Nullable Object target) { return -1; } @Override public UnmodifiableIterator<C> iterator() { return emptyIterator(); } @GwtIncompatible // NavigableSet @Override public UnmodifiableIterator<C> descendingIterator() { return emptyIterator(); } @Override boolean isPartialView() { return false; } @Override public boolean isEmpty() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testGetOnlyElement_withDefault_empty() { Iterator<String> iterator = emptyIterator(); assertEquals("bar", getOnlyElement(iterator, "bar")); } public void testGetOnlyElement_withDefault_empty_null() { Iterator<String> iterator = emptyIterator(); assertNull(Iterators.<@Nullable String>getOnlyElement(iterator, null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/EmptyEnumeration.java
*/ public class EmptyEnumeration<T> extends IteratorEnumeration<T> { /** * Creates an {@link EmptyEnumeration}. */ public EmptyEnumeration() { super(new EmptyIterator<T>()); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 993 bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
} @Override Iterator<Entry<Cut<C>, Range<C>>> entryIterator() { if (restriction.isEmpty()) { return emptyIterator(); } Iterator<Range<C>> completeRangeItr; if (lowerBoundWindow.upperBound.isLessThan(restriction.lowerBound)) { return emptyIterator(); } else if (lowerBoundWindow.lowerBound.isLessThan(restriction.lowerBound)) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 32.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.Iterables.getOnlyElement; import static com.google.common.collect.Iterators.emptyIterator; import static com.google.common.collect.SortedLists.KeyAbsentBehavior.NEXT_HIGHER; import static com.google.common.collect.SortedLists.KeyAbsentBehavior.NEXT_LOWER;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.collect.Iterators.emptyIterator; import static com.google.common.collect.Iterators.singletonIterator; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.truth.Truth.assertThat;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
import static com.google.common.collect.CollectPreconditions.checkEntryNotNull; import static com.google.common.collect.CollectPreconditions.checkNonnegative; import static com.google.common.collect.Iterators.emptyIterator; import static com.google.common.collect.Maps.immutableEntry; import static java.lang.Math.max; import static java.util.Arrays.asList; import static java.util.Objects.requireNonNull;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0)