Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 368 for copyFor (0.83 sec)

  1. guava-tests/test/com/google/common/io/ByteSinkTest.java

          TestByteSource failSource = new TestByteSource(new byte[10], option);
          TestByteSink okSink = new TestByteSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
          // ensure stream was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newInputStream() throws).
          assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

                op.setup(form -> {
                    userService.getUser(id).ifPresent(entity -> {
                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
                        });
                        form.crudMode = crudMode;
                    }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

            builder.put(entry.getKey(), entry.getValue());
          }
          return ImmutableMap.copyOf(builder);
        }
      }
    
      public static class ImmutableMapCopyOfEntriesGenerator extends TestStringMapGenerator {
        @Override
        protected Map<String, String> create(Entry<String, String>[] entries) {
          return ImmutableMap.copyOf(asList(entries));
        }
      }
    
      public static class ImmutableMapUnhashableValuesGenerator
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      // Unsafe, see ImmutableSortedMapFauxverideShim.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableSortedMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        return copyOfInternal((Map<K, V>) map, (Ordering<K>) Ordering.natural());
      }
    
      public static <K, V> ImmutableSortedMap<K, V> copyOf(
          Map<? extends K, ? extends V> map, Comparator<? super K> comparator) {
        return copyOfInternal(map, checkNotNull(comparator));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/GraphsTest.java

      }
    
      @Test
      public void copyOf_nullArgument() {
        assertThrows(NullPointerException.class, () -> copyOf((Graph<?>) null));
      }
    
      @Test
      public void copyOf_directedGraph() {
        Graph<Integer> directedGraph = buildDirectedGraph();
    
        Graph<Integer> copy = copyOf(directedGraph);
        assertThat(copy).isEqualTo(directedGraph);
      }
    
      @Test
      public void copyOf_undirectedGraph() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. 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();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. android/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());
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSinkTest.java

          TestCharSource failSource = new TestCharSource(STRING, option);
          TestCharSink okSink = new TestCharSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
          // ensure writer was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newReader() throws).
          assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      private static void testReverse(char[] input, char[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Chars.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(char[] input, int fromIndex, int toIndex, char[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Chars.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

        }
    
        protected EditBody createEditBody(final User entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
            });
            body.password = null;
            body.confirmPassword = null;
            return body;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top