- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for hasTest (0.07 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
return build.getDirectory(); } }; boolean hasScript = false; boolean hasMain = false; boolean hasTest = false; for (var source : sources) { var src = DefaultSourceRoot.fromModel(session, baseDir, outputDirectory, source); project.addSourceRoot(src);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 51.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
public static <E extends @Nullable Object> HashSet<E> newHashSet(Iterator<? extends E> elements) { HashSet<E> set = new HashSet<>(); Iterators.addAll(set, elements); return set; } /** * Returns a new hash set using the smallest initial table size that can hold {@code expectedSize} * elements without resizing. Note that this is not what {@link HashSet#HashSet(int)} does, but it
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 81.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals("b", cycle.next()); } } public void testCycleOfTwoWithRemove() { Iterable<String> iterable = Lists.newArrayList("a", "b"); Iterator<String> cycle = Iterators.cycle(iterable); assertTrue(cycle.hasNext()); assertEquals("a", cycle.next()); assertTrue(cycle.hasNext()); assertEquals("b", cycle.next()); assertTrue(cycle.hasNext());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 56.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
/** * Creates and returns a new instance of {@link HashSet}. * * @param <E> the element type of {@link HashSet} * @return a new instance of {@link HashSet} * @see HashSet#HashSet() */ public static <E> HashSet<E> newHashSet() { return new HashSet<>(); } /** * Creates and returns a new instance of {@link HashSet}. *Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 49.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
.setJSR250Lifecycle(true) .setStrictClassPathScanning(false) .setName("maven"); Set<String> exportedArtifacts = new HashSet<>(coreEntry.getExportedArtifacts()); Set<String> exportedPackages = new HashSet<>(coreEntry.getExportedPackages()); for (CoreExtensionEntry extension : extensions) { exportedArtifacts.addAll(extension.getExportedArtifacts());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
set("b", "b1", "b2") set("c", "c1", "c2") val iterator = cache.snapshots() assertThat(iterator.hasNext()).isTrue() iterator.next().use { assertThat(it.key()).isEqualTo("a") it.assertValue(0, "a1") it.assertValue(1, "a2") } assertThat(iterator.hasNext()).isTrue() iterator.next().use { assertThat(it.key()).isEqualTo("b") it.assertValue(0, "b1")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 59.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
if (request.getValidationLevel() == ModelBuildingRequest.VALIDATION_LEVEL_MINIMAL) { // profiles: they are essential for proper model building (may contribute profiles, dependencies...) HashSet<String> minProfileIds = new HashSet<>(); for (Profile profile : m.getProfiles()) { if (!minProfileIds.add(profile.getId())) { addViolation( problems,
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimaps.java
return new Iterator<V>() { int i; @Override public boolean hasNext() { return (i == 0) && map.containsKey(key); } @Override @ParametricNullness public V next() { if (!hasNext()) { throw new NoSuchElementException(); } i++;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 86.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
assertTrue(iter.hasNext()); Entry<String, String> entry = iter.next(); assertEquals("Hello", entry.getKey()); assertEquals("World", entry.getValue()); assertTrue(iter.hasNext()); entry = iter.next(); assertEquals("first", entry.getKey()); assertEquals("second", entry.getValue()); assertTrue(iter.hasNext()); entry = iter.next();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 62.7K bytes - Click Count (0)