- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 1,019 for iterated (0.06 seconds)
-
android/guava/src/com/google/common/primitives/UnsignedBytes.java
return Byte.toUnsignedInt(value); } /** * Returns the {@code byte} value that, when treated as unsigned, is equal to {@code value}, if * possible. * * @param value a value between 0 and 255 inclusive * @return the {@code byte} value that, when treated as unsigned, equals {@code value} * @throws IllegalArgumentException if {@code value} is negative or greater than 255 */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 21K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
*/ public static <T extends @Nullable Object> boolean isInOrder( Iterable<? extends T> iterable, Comparator<T> comparator) { checkNotNull(comparator); Iterator<? extends T> it = iterable.iterator(); if (it.hasNext()) { T prev = it.next(); while (it.hasNext()) { T next = it.next(); if (comparator.compare(prev, next) > 0) { return false; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableEnumSet.java
this.delegate = delegate; } @Override boolean isPartialView() { return false; } @Override public UnmodifiableIterator<E> iterator() { return Iterators.unmodifiableIterator(delegate.iterator()); } @Override public int size() { return delegate.size(); } @Override public boolean contains(@Nullable Object object) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/EdgesConnecting.java
this.nodeToOutEdge = checkNotNull(nodeToEdgeMap); this.targetNode = checkNotNull(targetNode); } @Override public UnmodifiableIterator<E> iterator() { E connectingEdge = getConnectingEdge(); return (connectingEdge == null) ? ImmutableSet.<E>of().iterator() : Iterators.singletonIterator(connectingEdge); } @Override public int size() { return getConnectingEdge() == null ? 0 : 1; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 2.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
* elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code * features}, the features supported by the iterator; and {@code expectedElements}, the elements the * iterator should return in order. * * <p>The items in {@code elementsToInsert} will be repeated if {@code steps} is larger than the * number of provided elements. * * @author Chris Povirk */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.3K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
* * @param pairs the list of AV pairs to modify * @param type the AV pair type to remove */ public static void remove(final List<AvPair> pairs, final int type) { final Iterator<AvPair> it = pairs.iterator(); while (it.hasNext()) { final AvPair p = it.next(); if (p.getType() == type) { it.remove(); } } } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java
private int position; /** Returns the element with the specified index. This method is called by {@link #next()}. */ @ParametricNullness protected abstract E get(int index); /** * Constructs an iterator across a sequence of the given size whose initial position is 0. That * is, the first call to {@link #next()} will return the first element (or throw {@link * NoSuchElementException} if {@code size} is zero). *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/skip/Skip.java
import org.elasticsearch.gradle.internal.test.rest.transform.feature.FeatureInjector; import org.gradle.api.tasks.Input; import org.gradle.api.tasks.Internal; import org.jetbrains.annotations.Nullable; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.function.Function; /** * A {@link RestTestTransform} that injects a skip into a REST test. */Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
public int size() { return deduped.length; } @Override public Iterator<String> iterator() { return MinimalCollection.of(deduped).iterator(); } }; } }) .named("AbstractSet") .withFeatures( CollectionFeature.NONE,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 15K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
result = artifactResolver.resolveTransitively( set, projectArtifact, remoteRepositories(), localRepository(), mds); printErrors(result); Iterator<Artifact> i = result.getArtifacts().iterator(); assertEquals(n, i.next(), "n should be first"); assertEquals(m, i.next(), "m should be second"); // inverse order set = new LinkedHashSet<>();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 26 10:49:22 GMT 2025 - 10.1K bytes - Click Count (0)