Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 970 for option (0.21 sec)

  1. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

            assertArgumentNotNull("options", options);
    
            final T dest = ClassUtil.newInstance(destClass);
            copyMapToMap(src, dest, options);
            return dest;
        }
    
        protected static CopyOptions buildCopyOptions(final Consumer<CopyOptions> option) {
            final CopyOptions copyOptions = new CopyOptions();
            option.accept(copyOptions);
            return copyOptions;
        }
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.5K 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);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

        sink.writeFrom(in);
        assertFalse(in.closed());
      }
    
      public void testClosesOnErrors_copyingFromByteSourceThatThrows() {
        for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) {
          TestByteSource failSource = new TestByteSource(new byte[10], option);
          TestByteSink okSink = new TestByteSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

         * @param options The options to use for deserialization, may be {@code null} to use the default values.
         * @return The deserialized metadata, never {@code null}.
         * @throws IOException If the metadata could not be deserialized.
         * @throws MetadataParseException If the input format could not be parsed.
         */
        Metadata read(File input, Map<String, ?> options) throws IOException, MetadataParseException;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

            try {
                final long count = searchEngineClient.updateByQuery(fessConfig.getIndexDocumentUpdateIndex(), option -> {
                    if (queryBuilder != null) {
                        option.setQuery(queryBuilder);
                    }
                    return option.setFetchSource(new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldLang() }, null);
                }, (builder, hit) -> {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java

                setupListCondition(cb, fileAuthenticationPager);
            });
    
            // update pager
            BeanUtil.copyBeanToBean(fileAuthenticationList, fileAuthenticationPager, option -> option.include(Constants.PAGER_CONVERSION_RULE));
            fileAuthenticationPager.setPageNumberList(fileAuthenticationList.pageRange(op -> {
                op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger());
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

                setupListCondition(cb, accessTokenPager);
            });
    
            // update pager
            BeanUtil.copyBeanToBean(accessTokenList, accessTokenPager, option -> option.include(Constants.PAGER_CONVERSION_RULE));
            accessTokenPager.setPageNumberList(
                    accessTokenList.pageRange(op -> op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger())).createPageNumberList());
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

        }
    
        /**
         * The tools option for this path, or {@code null} if none.
         *
         * @see #option()
         */
        private final String option;
    
        /**
         * Creates a new enumeration value for a path associated to the given tool option.
         *
         * @param option the Java tools option for this path, or {@code null} if none
         */
        JavaPathType(String option) {
            this.option = option;
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ByteSinkTest.java

        sink.writeFrom(in);
        assertFalse(in.closed());
      }
    
      public void testClosesOnErrors_copyingFromByteSourceThatThrows() {
        for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) {
          TestByteSource failSource = new TestByteSource(new byte[10], option);
          TestByteSink okSink = new TestByteSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testClosesOnErrors_copyingToCharSinkThatThrows() {
        for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) {
          TestCharSource okSource = new TestCharSource(STRING);
          assertThrows(IOException.class, () -> okSource.copyTo(new TestCharSink(option)));
          // ensure reader was closed IF it was opened (depends on implementation whether or not it's
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
Back to top