- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 282 for hasNext (0.09 sec)
-
guava-tests/test/com/google/common/collect/OrderingTest.java
assertEquals(0, (int) numberOrdering.min(iterator)); assertFalse(iterator.hasNext()); } public void testIteratorMaxExhaustsIterator() { List<Integer> ints = Lists.newArrayList(9, 0, 3, 5); Iterator<Integer> iterator = ints.iterator(); assertEquals(9, (int) numberOrdering.max(iterator)); assertFalse(iterator.hasNext()); } public void testIterableMinAndMax() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
@CheckForNull public K lastKey() { return sortedDelegate.lastKey(); } @CheckForNull K higher(K k) { Iterator<K> iterator = keySet().tailSet(k).iterator(); while (iterator.hasNext()) { K tmp = iterator.next(); if (comparator().compare(k, tmp) < 0) { return tmp; } } return null; } public ImmutableSortedMap<K, V> headMap(K toKey) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 16.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
* * @param values a series of values, which will be converted to {@code double} values (this may * cause loss of precision) */ public void addAll(Iterator<? extends Number> values) { while (values.hasNext()) { add(values.next().doubleValue()); } } /** * Adds the given values to the dataset. * * @param values a series of values */ public void addAll(double... values) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* @throws NullPointerException if {@code elements} is null or contains a null element */ @CanIgnoreReturnValue public Builder<E> addAll(Iterator<? extends E> elements) { while (elements.hasNext()) { add(elements.next()); } return this; } /** * Returns a newly-created {@code ImmutableCollection} of the appropriate type, containing the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Range.java
return closed(set.first(), set.last()); } } Iterator<C> valueIterator = values.iterator(); C min = checkNotNull(valueIterator.next()); C max = min; while (valueIterator.hasNext()) { C value = checkNotNull(valueIterator.next()); min = Ordering.<C>natural().min(min, value); max = Ordering.<C>natural().max(max, value); } return closed(min, max); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 27.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
} final String baseName = toDirectoryName(rootPackage); final List<Traverser> list = newArrayList(); for (final Iterator<URL> it = ClassLoaderUtil.getResources(baseName); it.hasNext();) { final URL url = it.next(); final Traverser resourcesType = getTraverser(url, rootPackage, baseName); if (resourcesType != null) { list.add(resourcesType);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 19.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:07:29 UTC 2023 - 29.1K bytes - Viewed (0)