Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 446 for arrayTest (0.06 sec)

  1. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            mockBhv.setTestData(new ArrayList<>());
    
            int count = relatedContentHelper.load();
            assertEquals(0, count);
    
            String[] results = relatedContentHelper.getRelatedContents("anyterm");
            assertEquals(0, results.length);
        }
    
        public void test_load_simpleTerms() {
            List<RelatedContent> testData = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. android/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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
            pathMappingHelper.setPathMappingList(null, pathMappingList);
            assertNull(pathMappingHelper.getPathMappingList("test"));
        }
    
        public void test_setPathMappingList_withNullList() {
            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

      Object[] array;
      ArrayList<Object> arrayList;
      LinkedList<Object> linkedList;
    
      @BeforeExperiment
      void setUp() {
        array = new Object[size];
        arrayList = Lists.newArrayListWithCapacity(size);
        linkedList = new LinkedList<>();
    
        for (int i = 0; i < size; i++) {
          Object value = new Object();
          array[i] = value;
          arrayList.add(value);
          linkedList.add(value);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/outside/DeepInterfaceTest.java

        final List<Object> annotatedIn1Events = new ArrayList<>();
        final List<Object> annotatedIn1And2Events = new ArrayList<>();
        final List<Object> annotatedIn1And2AndClassEvents = new ArrayList<>();
        final List<Object> declaredIn1AnnotatedIn2Events = new ArrayList<>();
        final List<Object> declaredIn1AnnotatedInClassEvents = new ArrayList<>();
        final List<Object> declaredIn2AnnotatedInClassEvents = new ArrayList<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. 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();
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. 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);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            mockBhv.setTestData(new ArrayList<>());
    
            int count = relatedQueryHelper.load();
            assertEquals(0, count);
    
            String[] results = relatedQueryHelper.getRelatedQueries("anyterm");
            assertEquals(0, results.length);
        }
    
        public void test_load_singleTerm() {
            List<RelatedQuery> testData = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

          expectUnchanged();
          // Be extra thorough in case internal state was corrupted by the expected null.
          assertEquals(new ArrayList<>(), new ArrayList<>(values));
          assertEquals(size, multimap().size());
        } else {
          assertEquals(newArrayList(v3()), new ArrayList<>(values));
          assertEquals(size + 1, multimap().size());
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                    crawlingInfoHelper.generateId(dataMap));
    
            final List<String> browserTypeList = new ArrayList<String>();
            dataMap.put("type", browserTypeList);
            final List<String> roleTypeList = new ArrayList<String>();
            dataMap.put("role", roleTypeList);
    
            assertEquals(
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top