Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 973 for arrayList (0.08 seconds)

  1. android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java

    import java.util.ArrayList;
    import java.util.List;
    
    public class AnnotatedNotAbstractInSuperclassTest extends AbstractEventBusTest<SubClass> {
      static class SuperClass {
        final List<Object> notOverriddenInSubclassEvents = new ArrayList<>();
        final List<Object> overriddenNotAnnotatedInSubclassEvents = new ArrayList<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            BsUser entity1 = new BsUser();
            entity1.setName("user1");
    
            // Test ArrayList specifically (not just List interface)
            ArrayList<BsUser> arrayList = new ArrayList<>();
            arrayList.add(entity1);
    
            RenderDataUtil.register(data, "arrayList", arrayList);
    
            Object result = data.getDataMap().get("arrayList");
            assertNotNull(result);
            assertTrue(result instanceof List);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ArrayListMultimap.java

       *     call, or switch to a {@code HashMap<K, ArrayList<V>>}.
       */
      @Deprecated
      public void trimToSize() {
        for (Collection<V> collection : backingMap().values()) {
          ArrayList<V> arrayList = (ArrayList<V>) collection;
          arrayList.trimToSize();
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
            pathMappingHelper.setPathMappingList(null, pathMappingList);
            assertNull(pathMappingHelper.getPathMappingList("test"));
        }
    
        @Test
        public void test_setPathMappingList_withNullList() {
            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            List<Map<String, Object>> documentList = new ArrayList<>();
            QueryResponseList qrList = new QueryResponseList(documentList, 0, 10, 0);
    
            // Test addAll with empty collection
            assertFalse(qrList.addAll(new ArrayList<>()));
            assertEquals(0, qrList.size());
    
            assertFalse(qrList.addAll(0, new ArrayList<>()));
            assertEquals(0, qrList.size());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 40.1K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetForEachEntryTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetForEachEntryTester<E> extends AbstractMultisetTester<E> {
      public void testForEachEntry() {
        List<Entry<E>> expected = new ArrayList<>(getMultiset().entrySet());
        List<Entry<E>> actual = new ArrayList<>();
        getMultiset()
            .forEachEntry((element, count) -> actual.add(Multisets.immutableEntry(element, count)));
        assertEqualIgnoringOrder(expected, actual);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            final List<LlmMessage> history = new ArrayList<>();
            final LlmChatRequest request = new LlmChatRequest();
            client.testAddHistoryWithBudget(request, history, 100);
            assertEquals(0, request.getMessages().size());
        }
    
        @Test
        public void test_addHistoryWithBudget_fallbackTruncation() {
            final List<LlmMessage> history = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Lists.java

      /**
       * Creates an {@code ArrayList} instance backed by an array with the specified initial size;
       * simply delegates to {@link ArrayList#ArrayList(int)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use {@code new }{@link ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly, taking
       * advantage of <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.job;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    import org.codelibs.fess.helper.LogNotificationHelper.LogNotificationEvent;
    import org.codelibs.fess.helper.SystemHelper;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

         * @param r The response.
         */
        public void resolve(final RESPONSE r) {
            final ArrayList<Consumer<RESPONSE>> executeCallbacks;
            synchronized (Deferred.this) {
                if (response != null || error != null) {
                    return;
                }
                response = r;
    
                executeCallbacks = new ArrayList<>(doneCallbacks.size());
                Consumer<RESPONSE> callback;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top