- Sort Score
- Result 10 results
- Languages All
Results 761 - 770 of 3,211 for List (0.03 sec)
-
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
return snapshot().toArray(array); } private List<Multiset.Entry<E>> snapshot() { List<Multiset.Entry<E>> list = newArrayListWithExpectedSize(size()); // Not Iterables.addAll(list, this), because that'll forward right back here. Iterators.addAll(list, iterator()); return list; } } /** @serialData the ConcurrentMap of elements and their counts. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java
validateApi(body, messages -> {}); final JobLogPager pager = copyBeanToNewBean(body, JobLogPager.class); final List<JobLog> list = jobLogService.getJobLogList(pager); return asJson(new ApiResult.ApiLogsResponse<EditBody>().logs(list.stream().map(this::createEditBody).collect(Collectors.toList())) .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiReaderTest.java
} public void testReady() throws Exception { CharSource source = newCharSource("a"); Iterable<? extends CharSource> list = ImmutableList.of(source, source); Reader joinedReader = CharSource.concat(list).openStream(); assertTrue(joinedReader.ready()); assertEquals('a', joinedReader.read()); assertEquals('a', joinedReader.read());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiReaderTest.java
} public void testReady() throws Exception { CharSource source = newCharSource("a"); Iterable<? extends CharSource> list = ImmutableList.of(source, source); Reader joinedReader = CharSource.concat(list).openStream(); assertTrue(joinedReader.ready()); assertEquals('a', joinedReader.read()); assertEquals('a', joinedReader.read());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
throw PermittedMetaException.UOE; } } else if (stackWithLastReturnedElementAtTop == null) { throw PermittedMetaException.ISE; } } private List<E> getElements() { List<E> elements = new ArrayList<>(); Helpers.addAll(elements, previousElements); Helpers.addAll(elements, Helpers.reverse(nextElements)); return elements; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/SearchListTests.java
refresh(); } checkUpdate(); } @Override protected List<Map<String, Object>> getItemList(final Map<String, Object> body) { final String response = checkMethodBase(body).get(getApiPath() + "/" + getListEndpointSuffix()).asString(); final List<Map<String, Object>> results = JsonPath.from(response).getList("response.docs"); return results; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
return redirect(getClass()); // no-op } public static List<Map<String, Object>> getLogFileItems() { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); final List<Map<String, Object>> logFileItems = new ArrayList<>(); final String logFilePath = systemHelper.getLogFilePath();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java
@Override protected Multiset<String> create(String[] elements) { return LinkedHashMultiset.create(asList(elements)); } @Override public List<String> order(List<String> insertionOrder) { List<String> order = Lists.newArrayList(); for (String s : insertionOrder) { int index = order.indexOf(s); if (index == -1) { order.add(s); } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java
return delegate().awaitTermination(timeout, unit); } @Override public <T extends @Nullable Object> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks) throws InterruptedException { return delegate().invokeAll(tasks); } @Override public <T extends @Nullable Object> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 4.1K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
``` the default of `q` will be: `["foo", "bar"]` and your response will be: ```JSON { "q": [ "foo", "bar" ] } ``` #### Using just `list` You can also use `list` directly instead of `List[str]` (or `list[str]` in Python 3.9+): //// tab | Python 3.9+ ```Python hl_lines="9" {!> ../../docs_src/query_params_str_validations/tutorial013_an_py39.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 25.4K bytes - Viewed (0)