Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 329 for copyFor (0.12 seconds)

  1. guava/src/com/google/common/collect/ImmutableTable.java

       */
      public static <R, C, V> ImmutableTable<R, C, V> copyOf(
          Table<? extends R, ? extends C, ? extends V> table) {
        if (table instanceof ImmutableTable) {
          @SuppressWarnings("unchecked")
          ImmutableTable<R, C, V> parameterizedTable = (ImmutableTable<R, C, V>) table;
          return parameterizedTable;
        } else {
          return copyOf(table.cellSet());
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

                    sut.getOptionalProjectsBySelectors(mavenExecutionRequest, listOfProjects, selectors);
    
            assertEquals(1, optionalProjectsBySelectors.size());
            assertEquals(List.of(mavenProject), List.copyOf(optionalProjectsBySelectors));
        }
    
        @Test
        void getRequiredProjectsBySelectorsThrowsMavenExecutionException() {
            final HashSet<String> selectors = new HashSet<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/MathTesting.java

        POSITIVE_INTEGER_CANDIDATES = intValues.build();
        NEGATIVE_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(
                    Iterables.transform(POSITIVE_INTEGER_CANDIDATES, NEGATE_INT),
                    ImmutableList.of(Integer.MIN_VALUE)));
        NONZERO_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(POSITIVE_INTEGER_CANDIDATES, NEGATIVE_INTEGER_CANDIDATES));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

        public UpgradeResult {
            // Defensive copying to ensure immutability
            processedPoms = Set.copyOf(processedPoms);
            modifiedPoms = Set.copyOf(modifiedPoms);
            errorPoms = Set.copyOf(errorPoms);
        }
    
        /**
         * Creates a successful result with the specified processed and modified POMs.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      public static <E> ImmutableSortedSet<E> copyOf(Iterator<? extends E> elements) {
        return copyOfInternal((Ordering<E>) Ordering.natural(), (Iterator<E>) elements);
      }
    
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> copyOf(E[] elements) {
        return ofInternal(Ordering.natural(), elements);
      }
    
      public static <E> ImmutableSortedSet<E> copyOf(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

            final String id = form.id;
            relatedQueryService.getRelatedQuery(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, copyOp -> {
                    copyOp.excludeNull();
                    copyOp.exclude(Constants.QUERIES);
                });
                form.queries =
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableMultiset.java

       */
      public static <E> ImmutableMultiset<E> copyOf(E[] elements) {
        return copyFromElements(elements);
      }
    
      /**
       * Returns an immutable multiset containing the given elements, in the "grouped iteration order"
       * described in the class documentation.
       *
       * @throws NullPointerException if any of {@code elements} is null
       */
      public static <E> ImmutableMultiset<E> copyOf(Iterable<? extends E> elements) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

         */
        protected EditBody createEditBody(final DataConfig entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
                copyOp.exclude(Constants.PERMISSIONS, Constants.VIRTUAL_HOSTS);
            });
            final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

                throw new UnsupportedOperationException("duplicate key");
              }
            }
            return ImmutableBiMap.copyOf(sourceMap);
          }
        },
        COPY_OF_ENTRIES {
          @Override
          public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) {
            return ImmutableBiMap.copyOf(entries);
          }
        },
        BUILDER_PUT_ONE_BY_ONE {
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 28 19:11:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/io/Files.java

       * @deprecated Prefer {@code asCharSource(from, charset).copyTo(to)}.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asCharSource(from, charset).copyTo(to)",
          imports = "com.google.common.io.Files")
      public
      static void copy(File from, Charset charset, Appendable to) throws IOException {
        asCharSource(from, charset).copyTo(to);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
Back to Top