Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 545 for bplist (0.11 sec)

  1. android/guava/src/com/google/common/collect/Ordering.java

          // k is really large; just do a straightforward sorted-copy-and-sublist
          ArrayList<E> list = Lists.newArrayList(iterator);
          sort(list, this);
          if (list.size() > k) {
            list.subList(k, list.size()).clear();
          }
          list.trimToSize();
          return unmodifiableList(list);
        } else {
          TopKSelector<E> selector = TopKSelector.least(k, this);
          selector.offerAll(iterator);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/TestOutputStream.java

      private final ImmutableSet<TestOption> options;
      private boolean closed;
    
      public TestOutputStream(OutputStream out, TestOption... options) throws IOException {
        this(out, Arrays.asList(options));
      }
    
      public TestOutputStream(OutputStream out, Iterable<TestOption> options) throws IOException {
        super(checkNotNull(out));
        this.options = ImmutableSet.copyOf(options);
        throwIf(OPEN_THROWS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

      public static Collection<Object[]> parameters() {
        ElementOrder<?> naturalElementOrder = ElementOrder.sorted(Ordering.natural());
    
        return Arrays.asList(
            new Object[][] {
              {false, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {true, false, ElementOrder.insertion(), ElementOrder.insertion()},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Ordering.java

          // k is really large; just do a straightforward sorted-copy-and-sublist
          ArrayList<E> list = Lists.newArrayList(iterator);
          sort(list, this);
          if (list.size() > k) {
            list.subList(k, list.size()).clear();
          }
          list.trimToSize();
          return unmodifiableList(list);
        } else {
          TopKSelector<E> selector = TopKSelector.least(k, this);
          selector.offerAll(iterator);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                    @SuppressWarnings("unchecked")
                    // we dangerously assume E is a string
                    List<E> extremeValues = (List<E>) getExtremeValues();
                    @SuppressWarnings("unchecked")
                    // map generators must past entry objects
                    List<E> normalValues = (List<E>) asList(entries);
    
                    // prepare extreme values to be filtered out of view
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.features.FeatureUtil.addImpliedFeatures;
    import static java.util.Arrays.asList;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableSet;
    import static java.util.logging.Level.FINER;
    
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/DenseImmutableTable.java

      }
    
      @Override
      Cell<R, C, V> getCell(int index) {
        int rowIndex = cellRowIndices[index];
        int columnIndex = cellColumnIndices[index];
        R rowKey = rowKeySet().asList().get(rowIndex);
        C columnKey = columnKeySet().asList().get(columnIndex);
        // requireNonNull is safe because we use indexes that were populated by the constructor.
        V value = requireNonNull(values[rowIndex][columnIndex]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

                        return new StandardImplForwardingNavigableSet<>(
                            new SafeTreeSet<String>(asList(elements)));
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Lists.newArrayList(Sets.newTreeSet(insertionOrder));
                      }
                    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

            RepositorySystemSession session = legacySupport.getRepositorySession();
    
            if (session != null && repository != null && !isLocalRepository(repository)) {
                List<ArtifactRepository> repositories = Arrays.asList(repository);
    
                RepositorySystem repositorySystem;
                try {
                    repositorySystem = container.lookup(RepositorySystem.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/TestInputStream.java

      private final ImmutableSet<TestOption> options;
      private boolean closed;
    
      public TestInputStream(InputStream in, TestOption... options) throws IOException {
        this(in, Arrays.asList(options));
      }
    
      public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException {
        super(checkNotNull(in));
        this.options = ImmutableSet.copyOf(options);
        throwIf(OPEN_THROWS);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
Back to top