- Sort Score
- Result 10 results
- Languages All
Results 1151 - 1160 of 2,527 for setD (0.23 sec)
-
guava-tests/test/com/google/common/base/EnumsTest.java
(Class<TestEnum>) Class.forName(TestEnum.class.getName(), false, shadowLoader); assertThat(shadowTestEnum).isNotEqualTo(TestEnum.class); // We can't write Set<TestEnum> because that is a Set of the TestEnum from the original // ClassLoader. Set<Object> shadowConstants = new HashSet<>(); for (TestEnum constant : TestEnum.values()) { Optional<TestEnum> result = Enums.getIfPresent(shadowTestEnum, constant.name());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
// Inject the ShareInfoCtr1 using reflection Field infoField = srvsvc.ShareEnumAll.class.getDeclaredField("info"); infoField.setAccessible(true); infoField.set(msrpcShareEnum, shareInfoCtr1); // Test getEntries method FileEntry[] entries = msrpcShareEnum.getEntries(); assertNotNull(entries); assertEquals(2, entries.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
// This is needed when resolving types against a context with wildcards // For example: // class Holder<T> { // void set(T data) {...} // } // Holder<List<?>> should *not* resolve the set() method to set(List<?> data). // Instead, it should create a capture of the wildcard so that set() rejects any List<T>. private static class WildcardCapturer { static final WildcardCapturer INSTANCE = new WildcardCapturer();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 22:30:05 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java
List<Entry<K, V>> entries = copyToList(multimap().entries()); for (Entry<K, V> entry : entries) { resetContainer(); K k = entry.getKey(); V v = entry.getValue(); Set<V> values = multimap().get(k); Set<V> expectedValues = copyToSet(values); assertFalse(multimap().put(k, v)); assertEquals(expectedValues, values); assertGet(k, expectedValues); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.NullPointerTester; import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Primitives}. * * @author Kevin Bourrillion */ @GwtCompatible @NullUnmarkedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/PrunedTag.java
&& StringUtils.compare(attrValue, other.attrValue) == 0; } /** * Sets the ID attribute value that this pruned tag should match. * * @param id the ID attribute value to match */ public void setId(final String id) { this.id = id; } /** * Sets the CSS class name that this pruned tag should match. * * @param css the CSS class name to match
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 04:23:08 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java
// Then assertNotNull(msrpcSamrOpenAlias, "MsrpcSamrOpenAlias object should not be null"); // Verify that ptype and flags are set correctly using reflection try { java.lang.reflect.Field ptypeField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("ptype"); ptypeField.setAccessible(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java
} HashSet<RemoteRepository> set = new HashSet<>(repositories); if (repositories.size() != set.size()) { throw new IllegalArgumentException( "Repository list contains duplicate entries. Each repository must be unique based on its ID and URL. " + "Found " + repositories.size() + " repositories but only " + set.size() + " unique entries.");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:30:49 UTC 2025 - 5K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-nested-models.md
对具有子类型的模型属性也使用相同的标准语法。 因此,在我们的示例中,我们可以将 `tags` 明确地指定为一个「字符串列表」: {* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *} ## Set 类型 但是随后我们考虑了一下,意识到标签不应该重复,它们很大可能会是唯一的字符串。 Python 具有一种特殊的数据类型来保存一组唯一的元素,即 `set`。 然后我们可以导入 `Set` 并将 `tag` 声明为一个由 `str` 组成的 `set`: {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *} 这样,即使你收到带有重复数据的请求,这些数据也会被转换为一组唯一项。 而且,每当你输出该数据时,即使源数据有重复,它们也将作为一组唯一项输出。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java
final long lastValue = lastTime.get(); if (lastValue == 0) { // First access to this host - no delay needed // Set current time to allow proper delay for next access lastTime.set(SystemUtil.currentTimeMillis()); return; } long currentTime = SystemUtil.currentTimeMillis();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 5.2K bytes - Viewed (0)