- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 291 for setters (0.24 seconds)
-
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
} @Test public void testGettersAndSetters() { // Test all getter and setter methods String[] text = { "initial" }; String[][] readings = { { "read" } }; SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.USER); // Test text item.setText("sample text"); assertEquals("sample text", item.getText());Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 16.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
throw new UnsupportedOperationException(); } } /* * TODO(cpovirk): surely we can find a less ugly solution than a class that accepts 3 parameters, * exposes as many getters, does work in the constructor, and has both a superclass and a subclass */ public static class SortedMapSubmapTestMapGenerator< K extends @Nullable Object, V extends @Nullable Object>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java
*/ ModelSource resolveModel(Dependency dependency) throws UnresolvableModelException; /** * Adds a repository to use for subsequent resolution requests. The order in which repositories are added matters, * repositories that were added first should also be searched first. When multiple repositories with the same * identifier are added, only the first repository being added will be used. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 5.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt
for (p in properties) { when (jvmSignature) { p.fieldSignature?.toString() -> return predicate.match(p) p.getterSignature?.toString() -> return predicate.match(p.getter) p.setterSignature?.toString() -> return p.setter?.let { predicate.match(it) } ?: false } } return false } interface AttributePredicate { fun match(kmClass: KmClass): Boolean
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jul 04 09:21:38 GMT 2025 - 5.8K bytes - Click Count (0) -
docs/pt/docs/tutorial/path-params.md
Você pode usar as mesmas declarações de tipo com `str`, `float`, `bool` e muitos outros tipos de dados complexos. Vários deles são explorados nos próximos capítulos do tutorial. ## A ordem importa { #order-matters } Ao criar *operações de rota*, você pode encontrar situações em que tem um path fixo. Como `/users/me`, digamos que seja para obter dados sobre o usuário atual.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 9.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/path-params.md
## Pydantic { #pydantic } FastAPI 充分地利用了 [Pydantic](https://docs.pydantic.dev/) 的优势,用它在后台校验数据。众所周知,Pydantic 擅长的就是数据校验。 同样,`str`、`float`、`bool` 以及很多复合数据类型都可以使用类型声明。 接下来的章节会介绍其中的好几种。 ## 顺序很重要 { #order-matters } 有时,*路径操作*中的路径是写死的。 比如要使用 `/users/me` 获取当前用户的数据。 然后还要使用 `/users/{user_id}`,通过用户 ID 获取指定用户的数据。 由于*路径操作*是按顺序依次运行的,因此,一定要在 `/users/{user_id}` 之前声明 `/users/me` :Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
when(response.getCommand()).thenReturn(command); response.setCommand(command); assertEquals(command, response.getCommand()); // Test other setter methods doNothing().when(response).setUid(1000); response.setUid(1000); verify(response).setUid(1000); doNothing().when(response).setExtendedSecurity(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
stopwordsFile.reload(null, is); } catch (IOException e) { throw new RuntimeException(e); } } // Test basic getters @Test public void test_getType() { assertEquals("stopwords", stopwordsFile.getType()); } @Test public void test_getPath() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
private final AtomicLong leaseBreaks = new AtomicLong(); private final AtomicLong leaseUpgrades = new AtomicLong(); private final AtomicLong leaseDowngrades = new AtomicLong(); // Getters and increment methods } ``` ## 12. Future Enhancements 1. **Directory Leases**: Extend lease support for directories 2. **Lease Key Persistence**: Save lease keys for reconnection
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
import org.opentest4j.TestAbortedException /** * This test binds two different web servers (IPv4 and IPv6) to the same port, but on different * local IP addresses. Requests made to `127.0.0.1` will reach the IPv4 server, and requests made to * `::1` will reach the IPv6 server. * * By orchestrating two different servers with the same port but different IP addresses, we can
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0)