Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 3,211 for List (0.05 sec)

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

          protected Multiset<String> create(String[] elements) {
            return unmodifiableMultiset(LinkedHashMultiset.create(asList(elements)));
          }
    
          @Override
          public List<String> order(List<String> insertionOrder) {
            List<String> order = new ArrayList<>();
            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: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/EqualsTester.java

        checkNotNull(equalityGroup);
        List<Object> list = new ArrayList<>(equalityGroup.length);
        for (int i = 0; i < equalityGroup.length; i++) {
          Object element = equalityGroup[i];
          if (element == null) {
            throw new NullPointerException("at index " + i);
          }
          list.add(element);
        }
        equalityGroups.add(list);
        return this;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. docs/en/docs/python-types.md

    In this case, `str` is the type parameter passed to `List` (or `list` in Python 3.9 and above).
    
    ///
    
    That means: "the variable `items` is a `list`, and each of the items in this list is a `str`".
    
    /// tip
    
    If you use Python 3.9 or above, you don't have to import `List` from `typing`, you can use the same regular `list` type instead.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. docs/uk/docs/python-types.md

    #### List (список)
    
    Наприклад, давайте визначимо змінну, яка буде `list` із `str`.
    
    //// tab | Python 3.8 і вище
    
    З модуля `typing`, імпортуємо `List` (з великої літери `L`):
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial006.py!}
    ```
    
    Оголосимо змінну з тим самим синтаксисом двокрапки (`:`).
    
    Як тип вкажемо `List`, який ви імпортували з `typing`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

     */
    package org.codelibs.fess.rank.fusion;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.lucene.search.TotalHits.Relation;
    import org.codelibs.fess.util.FacetResponse;
    
    public class SearchResult {
    
        protected final List<Map<String, Object>> documentList;
        protected final long allRecordCount;
        protected final String allRecordCountRelation;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

      E[] createArray(int length);
    
      /**
       * Returns the iteration ordering of elements, given the order in which they were added to the
       * container. This method may return the original list unchanged, the original list modified in
       * place, or a different list.
       *
       * <p>If the order is non-deterministic, as with {@link java.util.HashSet}, this method can return
       * its input unmodified. Provided that the test suite is built without {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

        }
    
        public List<ArtifactVersion> retrieveAvailableVersions(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException {
            throw new UnsupportedOperationException("Cannot get available versions in this test case");
        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. fastapi/_compat.py

    # Reassign variable to make it reexported for mypy
    PYDANTIC_VERSION = P_VERSION
    PYDANTIC_V2 = PYDANTIC_VERSION.startswith("2.")
    
    
    sequence_annotation_to_type = {
        Sequence: list,
        List: list,
        list: list,
        Tuple: tuple,
        tuple: tuple,
        Set: set,
        set: set,
        FrozenSet: frozenset,
        frozenset: frozenset,
        Deque: deque,
        deque: deque,
    }
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                        }
                        if (logger.isDebugEnabled()) {
                            logger.debug(line);
                        }
                        list.add(line);
                        if (list.size() > maxLineBuffer) {
                            list.remove(0);
                        }
                    } catch (final IOException e) {
                        throw new CrawlerSystemException(e);
                    }
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

            private final String name;
            private final List<Plugin> plugins;
            private final Collection<Lifecycle.Link> links;
            private final List<Lifecycle.Phase> phases;
    
            DefaultPhase(
                    String name, List<Plugin> plugins, Collection<Lifecycle.Link> links, List<Lifecycle.Phase> phases) {
                this.name = name;
                this.plugins = plugins;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top