- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 98 for Walters (0.27 sec)
-
android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java
// (We're relying on callers to call this method only with an edge that's in the graph.) return requireNonNull(outEdgeMap.get(edge)); } @Override public N removeInEdge(E edge, boolean isSelfLoop) { if (isSelfLoop) { checkNonNegative(--selfLoopCount); } N previousNode = inEdgeMap.remove(edge);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 26 17:43:39 GMT 2021 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharStreams.java
Java8Compatibility.flip(buf); to.append(buf); total += buf.remaining(); Java8Compatibility.clear(buf); } return total; } // TODO(lukes): consider allowing callers to pass in a buffer to use, some callers would be able // to reuse buffers, others would be able to size them more appropriately than the constant // defaults /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interners.java
InternalEntry entry = map.getEntry(sample); if (entry != null) { Object canonical = entry.getKey(); if (canonical != null) { // only matters if weak/soft keys are used // The compiler would know this is safe if not for our use of raw types (see above). @SuppressWarnings("unchecked") E result = (E) canonical;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 13 14:30:51 GMT 2023 - 5.9K bytes - Viewed (1) -
guava/src/com/google/common/collect/ForwardingSortedMap.java
/** Constructor for use by subclasses. */ public StandardKeySet() { super(ForwardingSortedMap.this); } } // unsafe, but worst case is a CCE or NPE is thrown, which callers will be expecting @SuppressWarnings({"unchecked", "nullness"}) static int unsafeCompare( @CheckForNull Comparator<?> comparator, @CheckForNull Object o1, @CheckForNull Object o2) { if (comparator == null) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/GeneralRange.java
this.upperBoundType = checkNotNull(upperBoundType); // Trigger any exception that the comparator would throw for the endpoints. /* * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T * whenever they pass `true` for the matching `has*Bound` parameter. */ if (hasLowerBound) { int unused = comparator.compare(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
public final V getOrDefault(@CheckForNull Object key, @CheckForNull V defaultValue) { /* * Even though it's weird to pass a defaultValue that is null, some callers do so. Those who * pass a literal "null" should probably just use `get`, but I would expect other callers to * pass an expression that *might* be null. This could happen with: * * - a `getFooOrDefault(@CheckForNull Foo defaultValue)` method that returns
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 44.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* the {@link ExecutionException} thrown by {@code input.get()} or, if {@code get()} throws a * different kind of exception, that exception itself. To avoid hiding bugs and other * unrecoverable errors, callers should prefer more specific types, avoiding {@code * Throwable.class} in particular. * @param fallback the {@link Function} to be called if {@code input} fails with the expected
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 59.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
} } /* * For a discussion of the signature of verifyNotNull, see the discussion above * Preconditions.checkNotNull. * * (verifyNotNull has many fewer "problem" callers, so we could try to be stricter. On the other * hand, verifyNotNull arguably has more reason to accept nullable arguments in the first * place....) */ /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 18.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMaker.java
} return this; } Strength getValueStrength() { return MoreObjects.firstNonNull(valueStrength, Strength.STRONG); } /** * Builds a thread-safe map. This method does not alter the state of this {@code MapMaker} * instance, so it can be invoked again to create multiple independent maps. * * <p>The bulk operations {@code putAll}, {@code equals}, and {@code clear} are not guaranteed to
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Mar 13 14:30:51 GMT 2023 - 12.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Preconditions.java
boolean expression, /* * TODO(cpovirk): Consider removing @CheckForNull here, as we've done with the other methods' * errorMessageTemplate parameters: It is unlikely that callers intend for their string * template to be null (though we do handle that case gracefully at runtime). I've left this * one as it is because one of our users has defined a wrapper API around Preconditions,
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Feb 14 15:46:55 GMT 2024 - 52.9K bytes - Viewed (0)