- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 127 for compiler (0.14 sec)
-
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
import com.google.common.collect.FluentIterable; import com.google.common.collect.ImmutableList; import com.google.common.util.concurrent.ClosingFuture.Combiner.AsyncCombiningCallable; import com.google.common.util.concurrent.ClosingFuture.Combiner.CombiningCallable; import com.google.common.util.concurrent.Futures.FutureCombiner; import com.google.errorprone.annotations.CanIgnoreReturnValue;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 98.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* iteratorTester.testForEachRemaining(); * }</pre> * * <p><b>Note</b>: It is necessary to use {@code IteratorTester.KnownOrder} as shown above, rather * than {@code KnownOrder} directly, because otherwise the code cannot be compiled. * * @author Kevin Bourrillion * @author Chris Povirk */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class IteratorTester<E extends @Nullable Object>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* in Android) requires a successful match in order to generate a {@code MatchResult}: * http://goo.gl/5VQFmC */ private static MatchResult createMatchResult() { Matcher matcher = Pattern.compile(".").matcher("X"); matcher.find(); return matcher.toMatchResult(); } private static final ClassToInstanceMap<Object> DEFAULTS = ImmutableClassToInstanceMap.builder() // primitives
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 21K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* in Android) requires a successful match in order to generate a {@code MatchResult}: * http://goo.gl/5VQFmC */ private static MatchResult createMatchResult() { Matcher matcher = Pattern.compile(".").matcher("X"); matcher.find(); return matcher.toMatchResult(); } private static final ClassToInstanceMap<Object> DEFAULTS = ImmutableClassToInstanceMap.builder() // primitives
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 20.5K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Stats.java
double mean = values.next().doubleValue(); while (values.hasNext()) { double value = values.next().doubleValue(); count++; if (isFinite(value) && isFinite(mean)) { // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15) mean += (value - mean) / count; } else { mean = calculateNewMeanNonFinite(mean, value); } } return mean; } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 22K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
CacheBuilder.newBuilder() .weakKeys() .build( new CacheLoader<Class<?>, ImmutableSet<Class<?>>>() { // <Class<?>> is actually needed to compile @SuppressWarnings("RedundantTypeArguments") @Override public ImmutableSet<Class<?>> load(Class<?> concreteClass) { return ImmutableSet.<Class<?>>copyOf(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 10.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Splitter.java
}; } }); } /** * Returns a splitter that considers any subsequence matching {@code pattern} to be a separator. * For example, {@code Splitter.on(Pattern.compile("\r?\n")).split(entireFile)} splits a string * into lines whether it uses DOS-style or UNIX-style line terminators. * * @param separatorPattern the pattern that determines whether a subsequence is a separator. This
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 24.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
private void privateVarArgsMethod(String... varargs) {} } private static class SubPrepender extends Prepender { @SuppressWarnings("unused") // needed to satisfy compiler, never called public SubPrepender() throws NullPointerException { throw new AssertionError(); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* restrictive. However, the ideal signature, {@code public <S super T> S or(S)}, is not legal * Java. As a result, some sensible operations involving subtypes are compile errors: * * <pre>{@code * Optional<Integer> optionalInt = getSomeOptionalInt(); * Number value = optionalInt.or(0.5); // error * * FluentIterable<? extends Number> numbers = getSomeNumbers();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 13K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* Returns an immutable array containing the given values, in order. * * <p>The array {@code rest} must not be longer than {@code Integer.MAX_VALUE - 1}. */ // Use (first, rest) so that `of(someLongArray)` won't compile (they should use copyOf), which is // okay since we have to copy the just-created array anyway. public static ImmutableLongArray of(long first, long... rest) { checkArgument(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 16:34:24 GMT 2023 - 18.9K bytes - Viewed (0)