- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 545 for bplist (0.07 sec)
-
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
@BeforeExperiment void setUp() { String component = Strings.repeat("a", componentLength); String[] raw = new String[count]; Arrays.fill(raw, component); components = Arrays.asList(raw); } /** {@link Joiner} with a string delimiter. */ @Benchmark int joinerWithStringDelimiter(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
for (int i = 0; i < size; i++) { keys[i] = rng.nextInt(); } return createTreap(Ints.asList(keys)); } // See http://en.wikipedia.org/wiki/Treap for details on the algorithm. private Optional<BinaryNode> createTreap(List<Integer> keys) { if (keys.isEmpty()) { return Optional.absent(); } int minIndex = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 26 19:18:53 UTC 2019 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
// For example: // class Holder<T> { // void set(T data) {...} // } // Holder<List<?>> should *not* resolve the set() method to set(List<?> data). // Instead, it should create a capture of the wildcard so that set() rejects any List<T>. private static class WildcardCapturer { static final WildcardCapturer INSTANCE = new WildcardCapturer();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
.onEvent(any(ToolchainsBuildingResult.class)); } @Test void resumeFromSelectorIsSuggestedWithoutGroupId() { List<MavenProject> allProjects = asList(createMavenProject("group", "module-a"), createMavenProject("group", "module-b")); MavenProject failedProject = allProjects.get(0);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestInputStream.java
private final ImmutableSet<TestOption> options; private boolean closed; public TestInputStream(InputStream in, TestOption... options) throws IOException { this(in, Arrays.asList(options)); } public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException { super(checkNotNull(in)); this.options = ImmutableSet.copyOf(options); throwIf(OPEN_THROWS); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapKeySet.java
return map.keySpliterator(); } @Override public boolean contains(@CheckForNull Object object) { return map.containsKey(object); } @Override K get(int index) { return map.entrySet().asList().get(index).getKey(); } @Override public void forEach(Consumer<? super K> action) { checkNotNull(action); map.forEach((k, v) -> action.accept(k)); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 2.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java
super(id); this.projectScope = Objects.requireNonNull(projectScope); this.dependencyScopes = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(Objects.requireNonNull(dependencyScopes)))); } @Override public ProjectScope projectScope() { return projectScope; } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
new ConcurrentHashMultiset<>(new ConcurrentSkipListMap<String, AtomicInteger>()); Collections.addAll(multiset, elements); return multiset; } @Override public List<String> order(List<String> insertionOrder) { return Ordering.natural().sortedCopy(insertionOrder); } }; } private static final String KEY = "puppies";
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/GeneralRangeTest.java
import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Objects; import com.google.common.testing.NullPointerTester; import java.util.List; import junit.framework.TestCase;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java
public static Collection<Object[]> parameters() { ElementOrder<?> naturalElementOrder = ElementOrder.sorted(Ordering.natural()); return Arrays.asList( new Object[][] { {false, false, ElementOrder.insertion(), ElementOrder.insertion()}, {true, false, ElementOrder.insertion(), ElementOrder.insertion()},
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 09 17:01:22 UTC 2020 - 2.6K bytes - Viewed (0)