- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 377 for checkNotNull (0.06 sec)
-
android/guava/src/com/google/common/base/Strings.java
* {@code b} have no common prefix, returns the empty string. * * @since 11.0 */ public static String commonPrefix(CharSequence a, CharSequence b) { checkNotNull(a); checkNotNull(b); int maxPrefixLength = min(a.length(), b.length()); int p = 0; while (p < maxPrefixLength && a.charAt(p) == b.charAt(p)) { p++; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction, BinaryOperator<V> mergeFunction) { checkNotNull(keyFunction); checkNotNull(valueFunction); checkNotNull(mergeFunction); return Collectors.collectingAndThen( Collectors.toMap(keyFunction, valueFunction, mergeFunction, LinkedHashMap::new), ImmutableMap::copyOf); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Joiner.java
return join(parts.iterator()); } @Override public <A extends Appendable> A appendTo(A appendable, Iterator<?> parts) throws IOException { checkNotNull(appendable, "appendable"); checkNotNull(parts, "parts"); while (parts.hasNext()) { Object part = parts.next(); if (part != null) { appendable.append(Joiner.this.toString(part));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 19.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.util.concurrent; import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredKeyMultimap.java
final Multimap<K, V> unfiltered; final Predicate<? super K> keyPredicate; FilteredKeyMultimap(Multimap<K, V> unfiltered, Predicate<? super K> keyPredicate) { this.unfiltered = checkNotNull(unfiltered); this.keyPredicate = checkNotNull(keyPredicate); } @Override public Multimap<K, V> unfiltered() { return unfiltered; } @Override public Predicate<? super Entry<K, V>> entryPredicate() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
final Multimap<K, V> unfiltered; final Predicate<? super K> keyPredicate; FilteredKeyMultimap(Multimap<K, V> unfiltered, Predicate<? super K> keyPredicate) { this.unfiltered = checkNotNull(unfiltered); this.keyPredicate = checkNotNull(keyPredicate); } @Override public Multimap<K, V> unfiltered() { return unfiltered; } @Override public Predicate<? super Entry<K, V>> entryPredicate() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/base/CaseFormat.java
* the behavior of this method is undefined but we make a reasonable effort at converting anyway. */ public final String to(CaseFormat format, String str) { checkNotNull(format); checkNotNull(str); return (format == this) ? str : convert(format, str); } /** Enum values can override for performance reasons. */ String convert(CaseFormat format, String s) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* @param target the array to search for as a sub-sequence of {@code array} */ public static int indexOf(boolean[] array, boolean[] target) { checkNotNull(array, "array"); checkNotNull(target, "target"); if (target.length == 0) { return 0; } outer: for (int i = 0; i < array.length - target.length + 1; i++) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
* @param target the array to search for as a sub-sequence of {@code array} */ public static int indexOf(boolean[] array, boolean[] target) { checkNotNull(array, "array"); checkNotNull(target, "target"); if (target.length == 0) { return 0; } outer: for (int i = 0; i < array.length - target.length + 1; i++) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Dispatcher.java
protected Boolean initialValue() { return false; } }; @Override void dispatch(Object event, Iterator<Subscriber> subscribers) { checkNotNull(event); checkNotNull(subscribers); // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get Queue<Event> queueForThread = requireNonNull(queue.get());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0)