- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 1,287 for operator (0.04 sec)
-
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
SmbFile parent = newParent(); FileEntry invalid = entry(invalidName, SmbConstants.TYPE_SHARE); FileEntry valid = entry("ok", SmbConstants.TYPE_SHARE); Iterator<FileEntry> delegate = Arrays.asList(invalid, valid).iterator(); ResourceFilter f = useFilter ? filter : null; if (useFilter) { when(filter.accept(any())).thenReturn(true); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingIterator.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Iterator; import org.jspecify.annotations.Nullable; /** * An iterator which forwards all its method calls to another iterator. Subclasses should override * one or more methods to modify the behavior of the backing iterator as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
return Collections.unmodifiableSet(adjacentNodeValues.keySet()); } else { return new AbstractSet<N>() { @Override public UnmodifiableIterator<N> iterator() { Iterator<NodeConnection<N>> nodeConnections = orderedNodeConnections.iterator(); Set<N> seenNodes = new HashSet<>(); return new AbstractIterator<N>() { @Override protected @Nullable N computeNext() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
public void testPutAbsentConcurrentWithEntrySetIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); put(e3()); iterator.next(); }); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT}) @CollectionSize.Require(absent = ZERO)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
public void testCopyOf_iterator_empty() { Iterator<String> iterator = emptyIterator(); Set<String> set = copyOf(iterator); assertEquals(Collections.<String>emptySet(), set); assertSame(this.<String>of(), set); } public void testCopyOf_iterator_oneElement() { Iterator<String> iterator = singletonIterator("a"); Set<String> set = copyOf(iterator); assertEquals(singleton("a"), set); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
Iterator<String> iterator = asList("a", "b", "a").iterator(); List<String> list = ImmutableList.copyOf(iterator); assertEquals(asList("a", "b", "a"), list); } public void testCopyOf_iteratorContainingNull() { Iterator<@Nullable String> iterator = Arrays.<@Nullable String>asList("a", null, "b").iterator(); assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java
Iterator<Entry<K, V>> iterator = multimap().entries().iterator(); assertEquals(mapEntry(k0(), v0()), iterator.next()); iterator.remove(); assertTrue(multimap().isEmpty()); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testEntriesRemainValidAfterRemove() { Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
} @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testIteratorRemove_unsupported() { Iterator<E> iterator = collection.iterator(); iterator.next(); assertThrows(UnsupportedOperationException.class, iterator::remove); expectUnchanged(); assertTrue(collection.contains(e0())); } @CollectionFeature.Require(SUPPORTS_REMOVE)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 21:04:02 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
final List methods = (List) getHeaderFields0().get(authHeader); if (methods == null) { return null; } final Iterator iterator = methods.iterator(); while (iterator.hasNext()) { final String currentAuthMethod = (String) iterator.next(); if (currentAuthMethod.startsWith("NTLM")) { if (currentAuthMethod.length() == 4) { authMethod = "NTLM";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
} static <T extends @Nullable Object> Iterator<T> cycle(Iterable<T> iterable) { return new Iterator<T>() { Iterator<T> iterator = Collections.<T>emptySet().iterator(); @Override public boolean hasNext() { return true; } @Override public T next() { if (!iterator.hasNext()) { iterator = iterable.iterator(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 17.2K bytes - Viewed (0)