Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 458 for optionally (0.09 seconds)

  1. android/guava-tests/test/com/google/common/base/EnumsTest.java

        for (TestEnum constant : TestEnum.values()) {
          Optional<TestEnum> result = Enums.getIfPresent(shadowTestEnum, constant.name());
          assertThat(result).isPresent();
          shadowConstants.add(result.get());
        }
        assertEquals(ImmutableSet.<Object>copyOf(shadowTestEnum.getEnumConstants()), shadowConstants);
        Optional<TestEnum> result = Enums.getIfPresent(shadowTestEnum, "blibby");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Optional;
    import com.google.common.collect.ImmutableList;
    import com.google.common.hash.HashCode;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.dbflute.optional.OptionalEntity;
    import org.junit.jupiter.api.Test;
    
    public class OptionalUtilTest extends UnitFessTestCase {
    
        @Test
        public void test_ofNullable_withNonNullString() {
            String testValue = "test string";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/logic/AccessContextLogic.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.logic;
    
    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.dbflute.hook.AccessContext;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.core.time.TimeManager;
    import org.lastaflute.db.dbflute.accesscontext.AccessContextResource;
    
    import jakarta.annotation.Resource;
    
    /**
     * The logic for access context.
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/PeekingIterator.java

       *
       * @throws IllegalStateException if there has been a call to {@link #peek()} since the most recent
       *     call to {@link #next()} and this implementation does not support this sequence of calls
       *     (optional)
       */
      @Override
      void remove();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingInfoParam.java

    import java.util.Locale;
    
    import org.codelibs.fess.opensearch.config.bsentity.BsCrawlingInfoParam;
    import org.codelibs.fess.opensearch.config.exbhv.CrawlingInfoBhv;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class CrawlingInfoParam extends BsCrawlingInfoParam {
    
        private static final long serialVersionUID = 1L;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.exception.JobNotFoundException;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    import org.lastaflute.job.JobManager;
    import org.lastaflute.job.LaScheduledJob;
    import org.lastaflute.job.key.LaJobUnique;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

         */
        public static class TextFragment {
            /** Optional prefix text before the target */
            private final String prefix;
            /** Start of the target text */
            private final String textStart;
            /** Optional end of the target text */
            private final String textEnd;
            /** Optional suffix text after the target */
            private final String suffix;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        if (allowsNullKeys) {
          boolean unused = map.containsKey(null);
        } else {
          try {
            boolean unused2 = map.containsKey(null);
          } catch (NullPointerException optional) {
          }
        }
        assertInvariants(map);
      }
    
      public void testContainsValue() {
        Map<K, V> map;
        V unmappedValue;
        try {
          map = makePopulatedMap();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

         *
         * @return an optional containing the web configuration, or empty if no web URLs were found
         */
        public OptionalEntity<WebConfig> getWebConfig() {
            return OptionalUtil.ofNullable(webConfig);
        }
    
        /**
         * Gets the file crawling configuration generated from the parsed GSA config.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
Back to Top