- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for singletonList (0.07 sec)
-
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
userResult.setToolchains(Collections.singletonList(toolchain)); props = new Properties(); props.put("key", "global_value"); toolchain = new ToolchainModel(); toolchain.setType("TYPE"); toolchain.setProvides(props); PersistedToolchains globalResult = new PersistedToolchains(); globalResult.setToolchains(Collections.singletonList(toolchain));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
public void shouldInterpolateDependencyVersionToSetSameAsProjectVersion() throws Exception { Model model = Model.newBuilder() .version("3.8.1") .dependencies(Collections.singletonList( Dependency.newBuilder().version("${project.version}").build())) .build(); ModelInterpolator interpolator = createInterpolator();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
new ElevateWord("test", 2.0f, Collections.singletonList("test"), Collections.singletonList("content"), null, null); ElevateWord elevateWord2 = new ElevateWord("hoge", 2.0f, Collections.singletonList("hoge"), Collections.singletonList("content"), null, null); ElevateWord elevateWord3 = new ElevateWord("fuga", 2.0f, Collections.singletonList("fuga"), Collections.singletonList("content"), null, null);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testIsEmpty() { Iterable<String> emptyList = emptyList(); assertTrue(Iterables.isEmpty(emptyList)); Iterable<String> singletonList = singletonList("foo"); assertFalse(Iterables.isEmpty(singletonList)); } public void testSkip_simple() { Collection<String> set = ImmutableSet.of("a", "b", "c", "d", "e");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import static java.util.Collections.emptyList; import static java.util.Collections.nCopies; import static java.util.Collections.singletonList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import static java.util.Collections.emptyList; import static java.util.Collections.nCopies; import static java.util.Collections.singletonList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java
import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import static java.util.Arrays.asList; import static java.util.Collections.singletonList; import static java.util.Collections.singletonMap; public class GradleUserManualPlugin implements Plugin<Project> { public static final String DOCS_GRADLE_ORG = "https://docs.gradle.org/"; @Override
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Mar 01 05:46:51 UTC 2024 - 17.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
new TestStringListGenerator() { @Override public List<String> create(String[] elements) { return singletonList(elements[0]); } }) .named("singletonList") .withFeatures( CollectionFeature.SERIALIZABLE, CollectionFeature.ALLOWS_NULL_VALUES, CollectionSize.ONE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
} return result; } catch (final ProjectBuildingException | DuplicateProjectException | MavenExecutionException e) { return Result.error(Collections.singletonList(new DefaultModelProblem(null, null, null, null, 0, 0, e))); } catch (final CycleDetectedException e) { String message = "The projects in the reactor contain a cyclic reference: " + e.getMessage();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
} public void testPartition_1_1() { List<Integer> source = singletonList(1); List<List<Integer>> partitions = partition(source, 1); assertEquals(1, partitions.size()); assertEquals(singletonList(1), partitions.get(0)); } public void testPartition_1_2() { List<Integer> source = singletonList(1); List<List<Integer>> partitions = partition(source, 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0)