Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 368 for copyFor (0.11 sec)

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

      public static ImmutableDoubleArray copyOf(double[] values) {
        return values.length == 0
            ? EMPTY
            : new ImmutableDoubleArray(Arrays.copyOf(values, values.length));
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableDoubleArray copyOf(Collection<Double> values) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

            final String id = form.id;
            labelTypeService.getLabelType(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
    - 15.1K bytes
    - Viewed (0)
  3. 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(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        assertSame(
            "copyOf(ImmutableSetMultimap) should not create a new instance",
            setMultimap,
            setMultimapCopy);
    
        ImmutableListMultimap<String, String> listMultimap = ImmutableListMultimap.of("k1", "v1");
        ImmutableMultimap<String, String> listMultimapCopy = ImmutableMultimap.copyOf(listMultimap);
        assertSame(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              SerializableTester.reserializeAndAssert(asMap);
              SerializableTester.reserializeAndAssert(descendingMap);
              assertEquals(
                  ImmutableList.copyOf(asMap.entrySet()).reverse(),
                  ImmutableList.copyOf(descendingMap.entrySet()));
    
              for (Range<Integer> query : RANGES) {
                assertEquals(expectedAsMap.get(query), asMap.get(query));
              }
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
          }
        }
        return ImmutableList.copyOf(result);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ImmutableGraph.java

    import com.google.errorprone.annotations.Immutable;
    
    /**
     * A {@link Graph} whose elements and structural relationships will never change. Instances of this
     * class may be obtained with {@link #copyOf(Graph)}.
     *
     * <p>See the Guava User's Guide's <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#immutable-implementations">discussion
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  8. android/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
    - 36.9K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java

        COPY_OF_COLLECTION {
          @Override
          public ImmutableMultiset<Object> create(List<?> keys) {
            return ImmutableMultiset.copyOf(keys);
          }
        },
        COPY_OF_ITERATOR {
          @Override
          public ImmutableMultiset<Object> create(List<?> keys) {
            return ImmutableMultiset.copyOf(keys.iterator());
          }
        },
        BUILDER_ADD_ENTRY_BY_ENTRY {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top