- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 885 for Iteration (0.14 sec)
-
android/guava/src/com/google/common/collect/TreeBasedTable.java
* a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer, * since an iteration across all row keys occurs. * * <p>Because a {@code TreeBasedTable} has unique sorted values for a given row, both {@code * row(rowKey)} and {@code rowMap().get(rowKey)} are {@link SortedMap} instances, instead of theRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
} }); assertEquals("open fail", ex.getMessage()); verify(tree, times(1)).release(); // closed on constructor failure } @Test @DisplayName("Iteration skips '.' and '..' and returns valid entries") void iterationSkipsDotAndDotDot() throws Exception { // Arrange stubAcquireReturnsSelf(); FileEntry initial = entry("a");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
return AbstractScheduledService.this.toString(); } } /** Constructor for use by subclasses. */ protected AbstractScheduledService() {} /** * Run one iteration of the scheduled task. If any invocation of this method throws an exception, * the service will transition to the {@link Service.State#FAILED} state and this method will no * longer be called. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
// It would be nice to be able to return a real concurrent // collection like ConcurrentLinkedQueue, so that e.g. concurrent // iteration would work, but that would not be GWT-compatible. // We are not "just" inheriting from ArrayList here as this doesn't work for J2kt. return new AbstractList<T>() { final ArrayList<T> data = new ArrayList<>();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 17.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
return endOfData(); } else if (entry.getUpperBound().compareTo(subRange.lowerBound) > 0) { // this might not be true e.g. at the start of the iteration return immutableEntry(entry.getKey().intersection(subRange), entry.getValue()); } } return endOfData(); } }; }
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/src/com/google/common/collect/TreeMultiset.java
@Override public Entry<E> next() { if (!hasNext()) { throw new NoSuchElementException(); } // requireNonNull is safe because current is only nulled out after iteration is complete. Entry<E> result = wrapEntry(requireNonNull(current)); prevEntry = result; if (current.succ() == header) { current = null; } else {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
SmbResourceLocatorImpl l = locator("smb://server/"); assertTrue(l.isWorkgroup()); } @Test @DisplayName("getAddress/getFirstAddress resolution branches and iteration") void testAddressResolutionAndIteration() throws Exception { // Query parameter 'server' takes precedence UniAddress a1 = mock(UniAddress.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
* * <p>In particular, this map iterates over entries with repeated calls to {@link * NavigableMap#lowerEntry}. If a more efficient means of iteration is available, you may wish to * override the {@code entryIterator()} method of this class. * * @since 12.0 */ protected class StandardDescendingMap extends Maps.DescendingMap<K, V> {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
* * <p>In particular, this map iterates over entries with repeated calls to {@link * NavigableMap#lowerEntry}. If a more efficient means of iteration is available, you may wish to * override the {@code entryIterator()} method of this class. * * @since 12.0 */ protected class StandardDescendingMap extends Maps.DescendingMap<K, V> {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
} public void testPowerSetIteration_manual() { ImmutableSet<Integer> elements = ImmutableSet.of(1, 2, 3); Set<Set<Integer>> powerSet = powerSet(elements); // The API doesn't promise this iteration order, but it's convenient here. Iterator<Set<Integer>> i = powerSet.iterator(); assertEquals(ImmutableSet.of(), i.next()); assertEquals(ImmutableSet.of(1), i.next());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0)