- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 459 for Contents (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
return new TreeSet<E>(contents); } }, UnmodifiableSetImpl { @Override public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { return unmodifiableSet(new HashSet<E>(contents)); } }, SynchronizedSetImpl { @Override public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) { return ofClassAndContents(Object.class, (E[]) new Object[0], asList(contents)); } @SuppressWarnings("unchecked") // empty Object[] as E[] public static <E extends @Nullable Object> MinimalSet<E> from(Collection<? extends E> contents) { return ofClassAndContents(Object.class, (E[]) new Object[0], contents); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
for (List<Integer> contents : SAMPLE_INPUTS) { for (int toRemove = 0; toRemove < 10; toRemove++) { assertEquals( contents.contains(toRemove) && EVEN.apply(toRemove), filter(createUnfiltered(contents), EVEN).remove(toRemove)); } } } public void testContains() { for (List<Integer> contents : SAMPLE_INPUTS) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
return new TreeSet<E>(contents); } }, UnmodifiableSetImpl { @Override public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { return unmodifiableSet(new HashSet<E>(contents)); } }, SynchronizedSetImpl { @Override public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
return new MinimalCollection<>(Object.class, true, contents); } // TODO: use this public static <E extends @Nullable Object> MinimalCollection<E> ofClassAndContents( Class<? super @NonNull E> type, E... contents) { return new MinimalCollection<>(type, true, contents); } private final E[] contents; private final Class<? super @NonNull E> type;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
elems = new CollectionBenchmarkSampleData(elements); contents = Maps.newHashMap(); for (Element key : elems.getValuesInSet()) { contents.put(key, key); } map = mapsImpl.create(contents); } @Benchmark @Footprint(exclude = Element.class) public Map<Element, Element> create() throws Exception { return mapsImpl.create(contents); } @Benchmark public int iterate() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
assertFileExistence(dir, filename, true); File file = new File(dir, filename); String contents = FileUtils.fileRead(file, encoding); assertEquals(contentsTest, contents); } public File createFile(File dir, String filename, String contents, String encoding) throws IOException { File file = new File(dir, filename); file.getParentFile().mkdirs();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java
* The returned list of versions is only dependent on the configured repositories and their contents. * The supplied request may also refer to a single concrete version rather than a version range. * In this case though, the result contains simply the (parsed) input version, regardless of the * repositories and their contents. * * @param session the session to use * @param artifactCoordinates t
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
Comparable<?>[] contents = new Comparable<?>[6 + remaining.length]; contents[0] = e1; contents[1] = e2; contents[2] = e3; contents[3] = e4; contents[4] = e5; contents[5] = e6; arraycopy(remaining, 0, contents, 6, remaining.length); return construct(Ordering.natural(), contents.length, (E[]) contents); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
Comparable<?>[] contents = new Comparable<?>[6 + remaining.length]; contents[0] = e1; contents[1] = e2; contents[2] = e3; contents[3] = e4; contents[4] = e5; contents[5] = e6; arraycopy(remaining, 0, contents, 6, remaining.length); return construct(Ordering.natural(), contents.length, (E[]) contents); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0)