Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for JdkPattern (0.33 sec)

  1. guava/src/com/google/common/base/JdkPattern.java

    import java.util.regex.Pattern;
    
    /** A regex pattern implementation which is backed by the {@link Pattern}. */
    @ElementTypesAreNonnullByDefault
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      @Override
      public CommonMatcher matcher(CharSequence t) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/JdkPattern.java

    import java.util.regex.Pattern;
    
    /** A regex pattern implementation which is backed by the {@link Pattern}. */
    @ElementTypesAreNonnullByDefault
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      @Override
      public CommonMatcher matcher(CharSequence t) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Platform.java

      }
    
      private static final class JdkPatternCompiler implements PatternCompiler {
        @Override
        public CommonPattern compile(String pattern) {
          return new JdkPattern(Pattern.compile(pattern));
        }
    
        @Override
        public boolean isPcreLike() {
          return true;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Splitter.java

       * @throws IllegalArgumentException if {@code separatorPattern} matches the empty string
       */
      @GwtIncompatible // java.util.regex
      public static Splitter on(Pattern separatorPattern) {
        return onPatternInternal(new JdkPattern(separatorPattern));
      }
    
      /** Internal utility; see {@link #on(Pattern)} instead. */
      static Splitter onPatternInternal(final CommonPattern separatorPattern) {
        checkArgument(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top