- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for our (0.13 sec)
-
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* to calling it exactly once. * * @since 10.0 (present in 1.0 as {@code run}) */ public void execute() { // Lock while we update our state so the add method above will finish adding any listeners // before we start to run them. RunnableExecutorPair list; synchronized (this) { if (executed) { return; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
String message = "Waited " + timeout + " " + unit.toString().toLowerCase(Locale.ROOT); // Only report scheduling delay if larger than our spin threshold - otherwise it's just noise if (remainingNanos + SPIN_THRESHOLD_NANOS < 0) { // We over-waited for our timeout. message += " (plus "; long overWaitNanos = -remainingNanos; long overWaitUnits = unit.convert(overWaitNanos, TimeUnit.NANOSECONDS);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
return null; } } // // Here we just need to know that a version is fine to use but this validation we can do in our workspace // resolver. // /* * if ( version == null || !version.equals( parent.getVersion() ) ) { return null; } */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 03 08:48:38 GMT 2024 - 61.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* * @since 2.0 */ public abstract static class SetView<E extends @Nullable Object> extends AbstractSet<E> { private SetView() {} // no subclasses but our own /** * Returns an immutable copy of the current contents of this set view. Does not support null * elements. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Ordering.java
* <p>If you are using Java 8+, this class is now obsolete. Most of its functionality is now * provided by {@link java.util.stream.Stream Stream} and by {@link Comparator} itself, and the rest * can now be found as static methods in our new {@link Comparators} class. See each method below * for further instructions. Whenever possible, you should change any references of type {@code
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 39.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
} @Override public I next() { if (!hasNext()) { throw new NoSuchElementException(); } /* * requireNonNull is safe because our callers always pass non-null arguments. Each element * of the array becomes null only when we iterate past it and then clear it. */ I result = requireNonNull(elements[index]);
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/Maps.java
/* * requireNonNull is safe because propertyNames contains only non-null elements. * * Accordingly, we have it annotated as returning `Enumeration<? extends Object>` in our * prototype checker's JDK. However, the checker still sees the return type as plain * `Enumeration<?>`, probably because of one of the following two bugs (and maybe those two
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 159.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
* Wrapper<Number>, Wrapper<Integer>, Wrapper<@Nullable Integer>, etc. If we used just * Equivalence<? super T> below, no type could satisfy both that bound and T's own * bound. With this type, they have some overlap: in our example, Equivalence<Number> * and Equivalence<Object>. */ private final Equivalence<? super @NonNull T> equivalence; @ParametricNullness private final T reference;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 01:41:50 GMT 2024 - 14.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java
* the second version is the newer. */ private static int compareModelVersions(String first, String second) { // we use a dedicated comparator because we control our model version scheme. String[] firstSegments = first.split("\\."); String[] secondSegments = second.split("\\."); for (int i = 0; i < Math.max(firstSegments.length, secondSegments.length); i++) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 13:13:07 GMT 2024 - 73.1K bytes - Viewed (0)