- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 453 for Iterable$ (0.14 sec)
-
guava/src/com/google/common/collect/ImmutableSortedSet.java
} /** @since 12.0 */ @Override @CheckForNull public E ceiling(E e) { return Iterables.<@Nullable E>getFirst(tailSet(e, true), null); } /** @since 12.0 */ @GwtIncompatible // NavigableSet @Override @CheckForNull public E higher(E e) { return Iterables.<@Nullable E>getFirst(tailSet(e, false), null); } @Override public E first() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
private static final Joiner JOINER_ON_CHARACTER = Joiner.on(DELIMITER_CHARACTER); @Param({"3", "30", "300"}) int count; @Param({"0", "1", "16", "32", "100"}) int componentLength; private Iterable<String> components; @BeforeExperiment void setUp() { String component = Strings.repeat("a", componentLength); String[] raw = new String[count]; Arrays.fill(raw, component);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalCause.java
@GwtCompatible @ElementTypesAreNonnullByDefault public enum RemovalCause { /** * The entry was manually removed by the user. This can result from the user invoking {@link * Cache#invalidate}, {@link Cache#invalidateAll(Iterable)}, {@link Cache#invalidateAll()}, {@link * Map#remove}, {@link ConcurrentMap#remove}, or {@link Iterator#remove}. */ EXPLICIT { @Override boolean wasEvicted() { return false; } },
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestInputStream.java
private boolean closed; public TestInputStream(InputStream in, TestOption... options) throws IOException { this(in, Arrays.asList(options)); } public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException { super(checkNotNull(in)); this.options = ImmutableSet.copyOf(options); throwIf(OPEN_THROWS); } public boolean closed() { return closed; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntrySetMultimap.java
} @Override public Set<V> removeAll(@CheckForNull Object key) { return (Set<V>) super.removeAll(key); } @Override public Set<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) { return (Set<V>) super.replaceValues(key, values); } @Override Set<Entry<K, V>> createEntries() { return Sets.filter(unfiltered().entries(), entryPredicate()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
lastFromForgetMeNot = null; } } /** Returns true if an exact reference (==) was found and removed from the supplied iterable. */ private boolean foundAndRemovedExactReference(Iterable<E> elements, E target) { for (Iterator<E> it = elements.iterator(); it.hasNext(); ) { E element = it.next(); if (element == target) { it.remove();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
* * @throws NullPointerException if any element in the input is null * @since 21.0 */ public static <E extends Comparable<? super E>> ImmutableList<E> sortedCopyOf( Iterable<? extends E> elements) { Comparable<?>[] array = Iterables.toArray(elements, new Comparable<?>[0]); checkElementsNotNull((Object[]) array); Arrays.sort(array); return asImmutableList(array); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 16 19:14:45 UTC 2024 - 30.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
assertTrue(multiset.isEmpty()); reserializeAndAssert(multiset); } public void testCreateFromIterable() { Iterable<Integer> iterable = asList(1, 2, 2, 3, 4); ConcurrentHashMultiset<Integer> multiset = ConcurrentHashMultiset.create(iterable); assertEquals(2, multiset.count(2)); reserializeAndAssert(multiset); } public void testIdentityKeyEquality_strongKeys() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingListMultimap.java
@Override public List<V> removeAll(@CheckForNull Object key) { return delegate().removeAll(key); } @CanIgnoreReturnValue @Override public List<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) { return delegate().replaceValues(key, values); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 2.2K bytes - Viewed (0)