- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for impls (0.16 sec)
-
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
return Ordering.natural().sortedCopy(insertionOrder); } }) .named("ForwardingSortedMultiset with standard impls") .withFeatures( CollectionSize.ANY, CollectionFeature.KNOWN_ORDER, CollectionFeature.GENERAL_PURPOSE, CollectionFeature.ALLOWS_NULL_QUERIES)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 6.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
}; abstract ExecutionListWrapper newExecutionList(); } private ThreadPoolExecutor executorService; private CountDownLatch listenerLatch; private ExecutionListWrapper list; @Param Impl impl; @Param({"1", "5", "10"}) int numListeners; private final Runnable listener = new Runnable() { @Override public void run() { listenerLatch.countDown();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 20.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
ImmutableSet<String> set = ImmutableSet.of("a", "b", "c", "c", "c", "c", "b", "b", "a", "a", "c", "c", "c", "a"); assertThat(set).containsExactly("a", "b", "c").inOrder(); } @GwtIncompatible("Builder impl") public void testBuilderForceCopy() { ImmutableSet.Builder<Integer> builder = ImmutableSet.builder(); builder.add(-1); Object[] prevArray = null; for (int i = 0; i < 10; i++) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicate.java
* <i>typically</i> means that {@code this.apply(t) == that.apply(t)} for all {@code t} of type * {@code T}). Note that a {@code false} result from this method does not imply that the * predicates are known <i>not</i> to be interchangeable. */ @Override boolean equals(@CheckForNull Object object); @Override default boolean test(@ParametricNullness T input) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsImplTest.java
import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** Tests the package level *impl methods directly using various types of lists. */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class ListsImplTest extends TestCase { /** Describes how a list is modifiable */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LongMath.java
72, 70, 69, 68, 67, 67, 66, 66, 66, 66 }; /* * binomial(biggestSimpleBinomials[k], k) doesn't need to use the slower GCD-based impl, but * binomial(biggestSimpleBinomials[k] + 1, k) does. */ @VisibleForTesting static final int[] biggestSimpleBinomials = { Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 44.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
return Types.toString(runtimeType); } /** Implemented to support serialization of subclasses. */ protected Object writeReplace() { // TypeResolver just transforms the type to our own impls that are Serializable // except TypeVariable. return of(new TypeResolver().resolveType(runtimeType)); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 53.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
super(new DataOutputStream(Preconditions.checkNotNull(out))); } @Override public void write(byte[] b, int off, int len) throws IOException { // Override slow FilterOutputStream impl out.write(b, off, len); } @Override public void writeBoolean(boolean v) throws IOException { ((DataOutputStream) out).writeBoolean(v); } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
*/ copyIfNecessary(); this.impl = this.impl.combine(other.impl); return this; } @Override public ImmutableSet<E> build() { requireNonNull(impl); // see the comment on the field forceCopy = true; impl = impl.review(); return impl.build(); } }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 35.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
* implementations. Forked from {@link SetContainsBenchmark}. * * @author Nicholaus Shupe */ public class MapBenchmark { @Param({"Hash", "LinkedHM", "MapMaker1", "Immutable"}) private Impl impl; public enum Impl { Hash { @Override Map<Element, Element> create(Collection<Element> keys) { Map<Element, Element> map = Maps.newHashMap(); for (Element element : keys) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 7.6K bytes - Viewed (0)