Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 486 for Patterns (0.1 seconds)

  1. 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.equals(pattern.pattern(), that.pattern.pattern())
                && pattern.flags() == that.pattern.flags();
          }
          return false;
        }
    
        @Override
        public String toString() {
          String patternString =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

        }
    
        /**
         * Converts to {@link Byte}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Byte}
         */
        public static Byte toByte(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Byte) {
                return (Byte) o;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

            }
        }
    
        /**
         * Moves the position over the given pattern if currently looking at the pattern. Does nothing if not.
         */
        public void skip(Pattern pattern) {
            Matcher m = pattern.matcher(input);
            m.region(pos, input.length());
            if (m.lookingAt()) {
                pos = m.end();
            }
        }
    
        public void pushText(String rawCommentText) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/CommonPattern.java

    /**
     * The subset of the {@link java.util.regex.Pattern} API which is used by this package, and also
     * shared with the {@code re2j} library. For internal use only. Please refer to the {@code Pattern}
     * javadoc for details.
     */
    @GwtCompatible
    abstract class CommonPattern {
      public abstract CommonMatcher matcher(CharSequence t);
    
      public abstract String pattern();
    
      public abstract int flags();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Platform.java

      }
    
      static CommonPattern compilePattern(String pattern) {
        Preconditions.checkNotNull(pattern);
        return patternCompiler.compile(pattern);
      }
    
      static boolean patternCompilerIsPcreLike() {
        return patternCompiler.isPcreLike();
      }
    
      private static PatternCompiler loadPatternCompiler() {
        // We want the JDK Pattern compiler:
        // - under Android (where it hurts startup performance)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/message/MessageFormatter.java

            try {
                final String pattern = getPattern(messageCode);
                if (pattern != null) {
                    return MessageFormat.format(pattern, args);
                }
                return getNoPatternMessage(args);
            } catch (final Throwable ignore) {
                return getNoPatternMessage(args);
            }
        }
    
        /**
         * Returns the pattern string corresponding to the message code.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         */
        public CopyOptions dateConverter(final String pattern, final CharSequence... propertyNames) {
            assertArgumentNotEmpty("pattern", pattern);
    
            return converter(new DateConverter(pattern), propertyNames);
        }
    
        /**
         * Sets a converter for SQL dates.
         *
         * @param pattern
         *            The date pattern. Must not be {@literal null} or an empty string.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

        }
    
        /**
         * Converts to {@link Short}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Short}
         */
        public static Short toShort(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Short) {
                return (Short) o;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

        }
    
        /**
         * Converts to {@link Float}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@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;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

            TimeUnit unit,
            Class<?> cls,
            Joiner joiner,
            Pattern pattern,
            UnsignedInteger ui,
            UnsignedLong ul,
            StringBuilder sb,
            Predicate<?> pred,
            Function<?, ?> func,
            Object obj) {
          delegate.foo(
              s, r, n, it, b, eq, e, in, c, ord, charset, unit, cls, joiner, pattern, ui, ul, sb, pred,
              func, obj);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
Back to Top