- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 661 for IsList (0.06 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
assertEquals(map.size(), entrySetToArray1.length); assertTrue(asList(entrySetToArray1).containsAll(entrySet)); Entry<?, ?>[] entrySetToArray2 = new Entry<?, ?>[map.size() + 2]; entrySetToArray2[map.size()] = mapEntry("foo", 1); assertSame(entrySetToArray2, entrySet.toArray(entrySetToArray2)); assertNull(entrySetToArray2[map.size()]); assertTrue(asList(entrySetToArray2).containsAll(entrySet));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
final Map<String, Object> source = new LinkedHashMap<>(); source.put("title", "Test"); source.put("content", "Body"); source.put("anchor", Arrays.asList("http://a.com", "http://b.com", "http://c.com")); final String html = new HtmlIndexExportFormatter().format(source, Collections.emptySet()); int count = 0; int idx = 0;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/RestTestPlugin.java
* projects and in conjunction with {@link BuildPlugin} for testing the rest * client. */ public class RestTestPlugin implements Plugin<Project> { private final List<String> REQUIRED_PLUGINS = Arrays.asList("elasticsearch.build", "elasticsearch.standalone-rest-test"); @Override public void apply(final Project project) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableSet.java
// (In the backport, we don't need this suppression, but we keep it to minimize diffs.) @SuppressWarnings("unchecked") @Override public UnmodifiableIterator<E> iterator() { return asList().iterator(); } @Override @Nullable Object[] internalArray() { return elements; } @Override int internalArrayStart() { return 0; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 3.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/EmptyContiguousSet.java
} @Override boolean isPartialView() { return false; } @Override public boolean isEmpty() { return true; } @Override public ImmutableList<C> asList() { return ImmutableList.of(); } @Override public String toString() { return "[]"; } @Override public boolean equals(@Nullable Object object) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
if (elements instanceof ImmutableCollection) { @SuppressWarnings("unchecked") // all supported methods are covariant ImmutableList<E> list = ((ImmutableCollection<E>) elements).asList(); return list.isPartialView() ? asImmutableList(list.toArray()) : list; } return construct(elements.toArray()); } /** * Returns an immutable list containing the given elements, in order.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java
InputStream getInputStream() throws IOException; /** * Provides a user-friendly hint about the location of the source. This could be a local file path, a URI or just an * empty string. The intention is to assist users during error reporting. * * @return A user-friendly hint about the location of the source, never {@code null}. */ String getLocation();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 15 18:51:29 GMT 2025 - 1.8K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PackagingProvider.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
import static com.google.common.collect.testing.testers.CollectionSpliteratorTester.getSpliteratorNotImmutableCollectionAllowsRemoveMethod; import static java.util.Arrays.asList; import static java.util.Collections.emptySet; import static java.util.Collections.singleton; import static java.util.Collections.unmodifiableSet; import com.google.common.annotations.GwtIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 19.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
when(mockFile2.createTime()).thenReturn(600L); when(mockFile2.lastAccess()).thenReturn(900L); // Update cache List<SmbFile> files = Arrays.asList(mockFile1, mockFile2); directoryLeaseManager.updateDirectoryCache(directoryPath, files); // Verify cache entry was updated (test the cache content directly)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0)