- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 553 for consider (0.07 seconds)
-
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
* * @author Kevin Bourrillion */ @GwtCompatible abstract class AbstractMapBasedMultiset<E extends @Nullable Object> extends AbstractMultiset<E> implements Serializable { // TODO(lowasser): consider overhauling this back to Map<E, Integer> private transient Map<E, Count> backingMap; /* * Cache the size for efficiency. Using a long lets us avoid the need for
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 10.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/RangeMap.java
* * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}. */ // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it. RangeMap<K, V> subRangeMap(Range<K> range); /** * Returns {@code true} if {@code obj} is another {@code RangeMap} that has an equivalent {@linkCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
checkArgument( !parameterTypes[0].isPrimitive(), "@Subscribe method %s's parameter is %s. " + "Subscriber methods cannot accept primitives. " + "Consider changing the parameter to %s.", method, parameterTypes[0].getName(), Primitives.wrap(parameterTypes[0]).getSimpleName());Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
CollectionSize.ANY); return MapTestSuiteBuilder.using(generator) .named(name) .withFeatures(featuresList) .createTestSuite(); } // TODO: consider being null-hostile in these tests private static Test testsForHashMapNullKeysForbidden() { return wrappedHashMapTests( new WrappedHashMapGenerator() { @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu May 22 16:18:11 GMT 2025 - 11.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
return CollectSpliterators.indexed( size(), Spliterator.ORDERED | Spliterator.DISTINCT | Spliterator.NONNULL, this::getEntry); } // TODO(lowasser): consider an optimized values() implementation @Override public boolean containsKey(@Nullable Object key) { return keyIndex.containsKey(key); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 26.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
if (parent == null) { /* * The given directory is a filesystem root. All zero of its ancestors exist. This doesn't * mean that the root itself exists -- consider x:\ on a Windows machine without such a drive * -- or even that the caller can create it, but this method makes no such guarantees even for * non-root files. */ return; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Chars.java
* such index exists. */ public static int indexOf(char[] array, char target) { return indexOf(array, target, 0, array.length); } // TODO(kevinb): consider making this public private static int indexOf(char[] array, char target, int start, int end) { for (int i = start; i < end; i++) { if (array[i] == target) { return i; } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* such index exists. */ public static int indexOf(short[] array, short target) { return indexOf(array, target, 0, array.length); } // TODO(kevinb): consider making this public private static int indexOf(short[] array, short target, int start, int end) { for (int i = start; i < end; i++) { if (array[i] == target) { return i; } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
guava/src/com/google/common/primitives/Shorts.java
* such index exists. */ public static int indexOf(short[] array, short target) { return indexOf(array, target, 0, array.length); } // TODO(kevinb): consider making this public private static int indexOf(short[] array, short target, int start, int end) { for (int i = start; i < end; i++) { if (array[i] == target) { return i; } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Streams.java
Stream<A> streamA, Stream<B> streamB, BiConsumer<? super A, ? super B> consumer) { checkNotNull(consumer); if (streamA.isParallel() || streamB.isParallel()) { zip(streamA, streamB, TemporaryPair::new).forEach(pair -> consumer.accept(pair.a, pair.b)); } else { Iterator<A> iterA = streamA.iterator(); Iterator<B> iterB = streamB.iterator();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 21 15:40:45 GMT 2025 - 36.8K bytes - Click Count (0)