Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 8,505 for copyTo (0.1 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      public static ImmutableLongArray copyOf(long[] values) {
        return values.length == 0
            ? EMPTY
            : new ImmutableLongArray(Arrays.copyOf(values, values.length));
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray copyOf(Collection<Long> values) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/ImmutableIntArray.java

      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableIntArray copyOf(int[] values) {
        return values.length == 0 ? EMPTY : new ImmutableIntArray(Arrays.copyOf(values, values.length));
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableIntArray copyOf(Collection<Integer> values) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedSet.java

       */
      public static <E> ImmutableSortedSet<E> copyOf(
          Comparator<? super E> comparator, Collection<? extends E> elements) {
        return copyOf(comparator, (Iterable<? extends E>) elements);
      }
    
      /**
       * Returns an immutable sorted set containing the elements of a sorted set, sorted by the same
       * {@code Comparator}. That behavior differs from {@link #copyOf(Iterable)}, which always uses the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

            final String id = form.id;
            elevateWordService.getElevateWord(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, copyOp -> {
                    copyOp.excludeNull();
                    copyOp.exclude(Constants.PERMISSIONS);
                });
                final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableRangeSet.java

       * ImmutableRangeSet}.
       *
       * @since 21.0
       */
      public ImmutableRangeSet<C> intersection(RangeSet<C> other) {
        RangeSet<C> copy = TreeRangeSet.create(this);
        copy.removeAll(other.complement());
        return copyOf(copy);
      }
    
      /**
       * Returns a new range set consisting of the difference of this range set and {@code other}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableTable.java

        ImmutableList<Cell<R, C, V>> cellList = ImmutableList.copyOf(cells);
        for (Cell<R, C, V> cell : cells) {
          rowSpaceBuilder.add(cell.getRowKey());
          columnSpaceBuilder.add(cell.getColumnKey());
        }
    
        ImmutableSet<R> rowSpace =
            (rowComparator == null)
                ? ImmutableSet.copyOf(rowSpaceBuilder)
                : ImmutableSet.copyOf(ImmutableList.sortedCopyOf(rowComparator, rowSpaceBuilder));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SparseImmutableTable.java

          rowBuilder.put(row.getKey(), ImmutableMap.copyOf(row.getValue()));
        }
        this.rowMap = rowBuilder.buildOrThrow();
    
        ImmutableMap.Builder<C, ImmutableMap<R, V>> columnBuilder =
            new ImmutableMap.Builder<>(columns.size());
        for (Entry<C, Map<R, V>> col : columns.entrySet()) {
          columnBuilder.put(col.getKey(), ImmutableMap.copyOf(col.getValue()));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/ImmutableGraph.java

      private final BaseGraph<N> backingGraph;
    
      ImmutableGraph(BaseGraph<N> backingGraph) {
        this.backingGraph = backingGraph;
      }
    
      /** Returns an immutable copy of {@code graph}. */
      public static <N> ImmutableGraph<N> copyOf(Graph<N> graph) {
        return (graph instanceof ImmutableGraph)
            ? (ImmutableGraph<N>) graph
            : new ImmutableGraph<N>(
                new StandardValueGraph<N, Presence>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            if (stream(webProtocols).get(stream -> stream.anyMatch(s -> s.equals(prefix)))) {
                logger.debug("web protocols contains {}.", protocol);
                return;
            }
            webProtocols = Arrays.copyOf(webProtocols, webProtocols.length + 1);
            webProtocols[webProtocols.length - 1] = prefix;
        }
    
        public void addFileProtocol(final String protocol) {
            final String prefix = protocol + ":";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableCollection.java

     *       access, and lastly speed of creation.
     *   <li>The {@code copyOf} methods will sometimes recognize that the actual copy operation is
     *       unnecessary; for example, {@code copyOf(copyOf(anArrayList))} should copy the data only
     *       once. This reduces the expense of habitually making defensive copies at API boundaries.
     *       However, the precise conditions for skipping the copy operation are undefined.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top