- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 3,874 for list (0.02 seconds)
-
guava-tests/test/com/google/common/primitives/LongsTest.java
public void testAsList_isAView() { long[] array = {0L, 1L}; List<Long> list = Longs.asList(array); list.set(0, 2L); assertThat(array).isEqualTo(new long[] {2L, 1L}); array[1] = 3L; assertThat(list).containsExactly(2L, 3L).inOrder(); } public void testAsList_toArray_roundTrip() { long[] array = {0L, 1L, 2L}; List<Long> list = Longs.asList(array); long[] newArray = Longs.toArray(list);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
public void testToArray_withNull() { List<@Nullable Short> list = Arrays.asList((short) 0, (short) 1, null); assertThrows(NullPointerException.class, () -> Shorts.toArray(list)); } public void testToArray_withConversion() { short[] array = {(short) 0, (short) 1, (short) 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 27.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
consumer.accept(attrList.get(0)); } } /** * Gets a list of attribute values from search results. * * @param result the list of search results * @param name the attribute name * @return a list of attribute values */ protected List<Object> getAttributeValueList(final List<SearchResult> result, final String name) { try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 08:06:20 GMT 2026 - 85.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/StemmerOverridePager.java
} /** * Gets the list of page numbers for navigation display. * * @return The list of page numbers */ public List<Integer> getPageNumberList() { return pageNumberList; } /** * Sets the list of page numbers for navigation display. * * @param pageNumberList The list of page numbers to set */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/WebAuthPager.java
} /** * Gets the list of page numbers for pagination. * * @return The list of page numbers */ public List<Integer> getPageNumberList() { return pageNumberList; } /** * Sets the list of page numbers for pagination. * * @param pageNumberList The list of page numbers */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/BoostDocPager.java
} /** * Gets the list of page numbers for pagination navigation. * @return The list of page numbers. */ public List<Integer> getPageNumberList() { return pageNumberList; } /** * Sets the list of page numbers for pagination navigation. * @param pageNumberList The list of page numbers. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java
Collection<ModelProblem> list = new ArrayList<>(); for (ModelProblem item : problems) { list.add(item); } for (ModelProblem item : result.getProblems()) { list.add(item); } return new Result<>(result.hasErrors() || hasErrors(problems), result.get(), list); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 26 19:31:34 GMT 2025 - 6.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/body-nested-models.md
使用 **FastAPI**,你可以定义、校验、记录文档并使用任意深度嵌套的模型(归功于Pydantic)。 ## List 字段 { #list-fields } 你可以将一个属性定义为一个子类型。例如,Python `list`: {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *} 这将使 `tags` 成为一个由元素组成的列表。不过它没有声明每个元素的类型。 ## 带类型参数的 List 字段 { #list-fields-with-type-parameter } 不过,Python 有一种用于声明具有内部类型(类型参数)的列表的特定方式: ### 声明带类型参数的 `list` { #declare-a-list-with-a-type-parameter }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java
} /** * Prompts the user for a string using a list of possible values. * * @param message the message to display * @param possibleValues the list of possible values * @return the string entered by the user * @throws PrompterException if an exception occurs */ @Nonnull default String prompt(@Nullable String message, @Nullable List<String> possibleValues) throws PrompterException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 17 15:52:15 GMT 2023 - 3.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/config/exentity/WebConfigTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.opensearch.config.exentity; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.app.service.RequestHeaderService;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.7K bytes - Click Count (0)