Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,015 for lists (0.02 sec)

  1. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        return valuesInSet;
      }
    
      Element[] getQueries() {
        return queries;
      }
    
      private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
        List<Element> queryList = Lists.newArrayListWithCapacity(numQueries);
    
        int numGoodQueries = (int) (numQueries * hitRate + 0.5);
    
        // add good queries
        int size = elementsInSet.size();
        if (size > 0) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java

            // Test parsing mixed fields and lists
            String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<doc>\n" + "  <field name=\"title\">Test Title</field>\n"
                    + "  <field name=\"tags\">\n" + "    <list>\n" + "      <item>java</item>\n" + "      <item>xml</item>\n" + "    </list>\n"
                    + "  </field>\n" + "  <field name=\"content\">Test Content</field>\n" + "</doc>";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        return valuesInSet;
      }
    
      Element[] getQueries() {
        return queries;
      }
    
      private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
        List<Element> queryList = Lists.newArrayListWithCapacity(numQueries);
    
        int numGoodQueries = (int) (numQueries * hitRate + 0.5);
    
        // add good queries
        int size = elementsInSet.size();
        if (size > 0) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

        }
    
        @Override
        protected Collection<List<E>> delegate() {
          return delegate;
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          if (!(object instanceof List)) {
            return false;
          }
          List<?> list = (List<?>) object;
          if (list.size() != axes.size()) {
            return false;
          }
          int i = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

        @Test
        public void testConstructorWithEmptyLists() {
            // Test constructor with empty lists
            String word = "empty lists";
            float boost = 1.0f;
            List<String> readings = Collections.emptyList();
            List<String> fields = Collections.emptyList();
            List<String> tags = Collections.emptyList();
            List<String> roles = Collections.emptyList();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          args.add(generateDummyArg(param, generator));
        }
        Object instance = createInstance(factory, args);
        List<Object> equalArgs = generateEqualFactoryArguments(factory, params, args);
        // Each group is a List of items, each item has a list of factory args.
        List<List<List<Object>>> argGroups = new ArrayList<>();
        argGroups.add(ImmutableList.of(args, equalArgs));
        EqualsTester tester =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableList.java

          @SuppressWarnings("unchecked") // all supported methods are covariant
          ImmutableList<E> list = ((ImmutableCollection<E>) elements).asList();
          return list.isPartialView() ? asImmutableList(list.toArray()) : list;
        }
        return construct(elements.toArray());
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         * @return The active profiles for the specified model or an empty list if the model has no active profiles.
         * @since 4.0.0
         */
        @Nonnull
        List<Profile> getActivePomProfiles(String modelId);
    
        /**
         * Gets a map of all active POM profiles organized by model ID.
         * The map keys are model IDs (groupId:artifactId:version) and values are lists of active profiles for each model.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * TestContainerGenerator#order(List)}. Tests should use this method only if they declare
       * requirement {@link com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}.
       */
      protected List<E> getOrderedElements() {
        List<E> list = new ArrayList<>();
        for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) {
          list.add(e);
        }
        return unmodifiableList(list);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/SuppliersTest.java

              public ArrayList<Integer> get() {
                return Lists.newArrayList(0);
              }
            };
    
        Function<List<Integer>, List<Integer>> addElementFunction =
            new Function<List<Integer>, List<Integer>>() {
              @Override
              public List<Integer> apply(List<Integer> list) {
                ArrayList<Integer> result = new ArrayList<>(list);
                result.add(1);
                return result;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top