- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 610 for asList (0.03 sec)
-
android/guava-tests/test/com/google/common/math/QuantilesTest.java
assertThat(dataset).asList().isEqualTo(SIXTEEN_SQUARES_LONGS); } public void testScale_index_compute_intVarargs() { int[] dataset = Ints.toArray(SIXTEEN_SQUARES_INTEGERS); assertThat(Quantiles.scale(10).index(1).compute(dataset)) .isWithin(ALLOWED_ERROR) .of(SIXTEEN_SQUARES_DECILE_1); assertThat(dataset).asList().isEqualTo(SIXTEEN_SQUARES_INTEGERS); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java
/** */ public class ExclusionSetFilter implements ArtifactFilter { private Set<String> excludes; public ExclusionSetFilter(String[] excludes) { this.excludes = new LinkedHashSet<>(Arrays.asList(excludes)); } public ExclusionSetFilter(Set<String> excludes) { this.excludes = excludes; } @Override public boolean include(Artifact artifact) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMapKeySet.java
return map.keyIterator(); } @Override public boolean contains(@Nullable Object object) { return map.containsKey(object); } @Override K get(int index) { return map.entrySet().asList().get(index).getKey(); } @Override boolean isPartialView() { return true; } @Override @J2ktIncompatible @GwtIncompatible Object writeReplace() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java
public class StandardMutableUndirectedGraphTest extends AbstractStandardUndirectedGraphTest { @Parameters(name = "allowsSelfLoops={0}, incidentEdgeOrder={1}") public static Collection<Object[]> parameters() { return Arrays.asList( new Object[][] { {false, ElementOrder.unordered()}, {true, ElementOrder.unordered()}, {false, ElementOrder.stable()}, {true, ElementOrder.stable()}, }); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java
return artifact -> false; } @Test void testEquals() { OrArtifactFilter filter1 = new OrArtifactFilter(); OrArtifactFilter filter2 = new OrArtifactFilter(Arrays.asList(newSubFilter())); assertFalse(filter1.equals(null), "Expected " + filter1 + " to not equal " + null); assertTrue(filter1.equals(filter1), "Expected " + filter1 + " to equal " + filter1);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
// Default behavior when disallowCompound is null assertTrue(config.isAllowCompound("AnyCommand")); // Set disallowCompound config.disallowCompound = new HashSet<>(Arrays.asList("Command1", "Command2")); assertFalse(config.isAllowCompound("Command1")); assertFalse(config.isAllowCompound("Command2")); assertTrue(config.isAllowCompound("Command3")); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
import static com.google.common.testing.SerializableTester.reserialize; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import static java.util.Arrays.asList; import static java.util.Collections.singletonMap; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
when(mockConfig.getNetbiosSndBufSize()).thenReturn(576); when(mockConfig.getNetbiosRcvBufSize()).thenReturn(576); when(mockConfig.getResolveOrder()).thenReturn(Arrays.asList(ResolverType.RESOLVER_DNS)); // Only DNS, no broadcast when(mockConfig.getNetbiosHostname()).thenReturn("TESTHOST"); when(mockConfig.getNetbiosScope()).thenReturn(null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java
// JUnit has an "Automatic-Module-Name", so it appears on the module path. Map<PathType, List<Path>> dispatched = session.resolveDependencies( coords, PathScope.TEST_COMPILE, Arrays.asList(JavaPathType.CLASSES, JavaPathType.MODULES)); List<Path> classes = dispatched.get(JavaPathType.CLASSES); List<Path> modules = dispatched.get(JavaPathType.MODULES);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 10.2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java
addEdge(graph4, "b", "c"); addEdge(graph4, "b", "d"); addEdge(graph4, "a", "d"); cde = assertThrows(CycleDetectedException.class, () -> addEdge(graph4, "c", "a")); assertEquals(Arrays.asList("a", "b", "c", "a"), cde.getCycle()); Graph graph5 = new Graph(); addEdge(graph5, "a", "b"); addEdge(graph5, "b", "c"); addEdge(graph5, "b", "f"); addEdge(graph5, "f", "g");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 8.5K bytes - Viewed (0)