Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 659 for Pattern (0.15 sec)

  1. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

        /**
         * 数値のパターンです。
         */
        protected String pattern;
    
        /**
         * インスタンスを構築します。
         *
         * @param pattern
         *            数値のパターン
         */
        public NumberConverter(final String pattern) {
            assertArgumentNotEmpty("pattern", pattern);
            this.pattern = pattern;
        }
    
        @Override
        public Object getAsObject(final String value) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

    import java.util.Date;
    import java.util.regex.Pattern;
    
    import javax.annotation.Resource;
    
    import org.codelibs.fess.Constants;
    
    public abstract class DictionaryCreator {
    
        protected Pattern pattern;
    
        @Resource
        protected DictionaryManager dictionaryManager;
    
        protected DictionaryCreator(final String pattern) {
            this.pattern = Pattern.compile(pattern);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Predicates.java

            // Pattern uses Object (identity) equality, so we have to reach
            // inside to compare individual fields.
            return Objects.equal(pattern.pattern(), that.pattern.pattern())
                && pattern.flags() == that.pattern.flags();
          }
          return false;
        }
    
        @Override
        public String toString() {
          String patternString =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. fastapi/params.py

                        "strict": strict,
                        "json_schema_extra": current_json_schema_extra,
                    }
                )
                kwargs["pattern"] = pattern or regex
            else:
                kwargs["regex"] = pattern or regex
                kwargs.update(**current_json_schema_extra)
            use_kwargs = {k: v for k, v in kwargs.items() if v is not _Unset}
    
            super().__init__(**use_kwargs)
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  5. .cm/plugins/filters/byCodeowner/ignore/index.js

    const checkPattern = pattern => pattern
        && isString(pattern)
        && !REGEX_TEST_BLANK_LINE.test(pattern)
        && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern)
    
        // > A line starting with # serves as a comment.
        && pattern.indexOf('#') !== 0
    
    const splitPattern = pattern => pattern.split(REGEX_SPLITALL_CRLF)
    
    class IgnoreRule {
        constructor (
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

        }
    
        /**
         * {@link Integer}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Integer}
         */
        public static Integer toInteger(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Integer) {
                return (Integer) o;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Platform.java

         * that, we hardcode the JDK Pattern compiler on Android (and, inadvertently, on App Engine and
         * in Guava, at least for now).
         */
        return new JdkPatternCompiler();
      }
    
      private static final class JdkPatternCompiler implements PatternCompiler {
        @Override
        public CommonPattern compile(String pattern) {
          return new JdkPattern(Pattern.compile(pattern));
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/SplitterTest.java

            .containsExactly("Testing", "rocks", "Debugging", "sucks")
            .inOrder();
      }
    
      @GwtIncompatible // java.util.regex.Pattern
      private static Pattern literalDotPattern() {
        return Pattern.compile("\\.");
      }
    
      @GwtIncompatible // java.util.regex.Pattern
      public void testPatternSplitWithDoubleDelimiterOmitEmptyStrings() {
        String doubled = "a..b.c";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  9. internal/event/rulesmap.go

    }
    
    // NewRulesMap - creates new rules map with given values.
    func NewRulesMap(eventNames []Name, pattern string, targetID TargetID) RulesMap {
    	// If pattern is empty, add '*' wildcard to match all.
    	if pattern == "" {
    		pattern = "*"
    	}
    
    	rulesMap := make(RulesMap)
    	rulesMap.add(eventNames, pattern, targetID)
    	return rulesMap
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

        }
    
        /**
         * {@link Float}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Float}
         */
        public static Float toFloat(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Float) {
                return (Float) o;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top