- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Position (0.17 sec)
-
android/guava/src/com/google/common/collect/Iterables.java
}; } /** * Returns the element at the specified position in an iterable. * * <p><b>{@code Stream} equivalent:</b> {@code stream.skip(position).findFirst().get()} (throws * {@code NoSuchElementException} if out of bounds) * * @param position position of the element to return * @return the element at the specified position in {@code iterable}
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 42.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* Ensures that {@code start} and {@code end} specify valid <i>positions</i> in an array, list or * string of size {@code size}, and are in order. A position index may range from zero to {@code * size}, inclusive. * * @param start a user-supplied index identifying a starting position in an array, list or string * @param end a user-supplied index identifying an ending position in an array, list or string
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
* equivalent to RegularImmutableSet, save that instead of having a hash table containing the * elements directly and null for empty positions, we store indices of the keys in the hash table, * and ABSENT for empty positions. We then look up the keys in alternatingKeysAndValues. * * (The index actually stored is the index of the key in alternatingKeysAndValues, which is
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 15 22:32:14 GMT 2024 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
} }; } /** * Advances {@code iterator} {@code position + 1} times, returning the element at the {@code * position}th position. * * @param position position of the element to return * @return the element at the specified position in {@code iterator} * @throws IndexOutOfBoundsException if {@code position} is negative or greater than or equal to
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 51.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
abstract ImmutableSortedSet<E> createDescendingSet(); /** @since 12.0 */ @GwtIncompatible // NavigableSet @Override public abstract UnmodifiableIterator<E> descendingIterator(); /** Returns the position of an element within the set, or -1 if not present. */ abstract int indexOf(@CheckForNull Object target); /* * This class is used to serialize all ImmutableSortedSet instances,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 36.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
return Iterators.forArray(1, 2, 3); } }.test(); } /* * TODO(cpovirk): Test forArray with ListIteratorTester (not just IteratorTester), including with * a start position other than 0. */ public void testForEnumerationEmpty() { Enumeration<Integer> enumer = enumerate(); Iterator<Integer> iter = Iterators.forEnumeration(enumer);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 56.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSet.java
* {@code k} is the size of the returned {@code ImmutableSet}, then the unique elements of {@code * elements} will be in the first {@code k} positions, and {@code elements[i] == null} for {@code * k <= i < n}. * * <p>After this method returns, {@code elements} will contain no duplicates, but {@code elements}
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 22.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
*/ private final Comparator<? super E> comparator; @VisibleForTesting E[] elements; private int[] counts; /* * The number of used positions in the elements array. We deduplicate periodically, so this * may fluctuate up and down. */ private int length;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 35.7K bytes - Viewed (0)