Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for pattern (0.29 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return Integer.toString(generateInt());
      }
    
      @Generates
      Comparable<?> generateComparable() {
        return generateString();
      }
    
      @Generates
      Pattern generatePattern() {
        return Pattern.compile(generateString());
      }
    
      @Generates
      Charset generateCharset() {
        return pickInstance(Charset.availableCharsets().values(), Charsets.UTF_8);
      }
    
      @Generates
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          // different from each other. If buildKeepingLast() collapsed duplicates, that might end up
          // not being true.
          Pattern pattern = Pattern.compile("Multiple entries with same key: four=(.*) and four=(.*)");
          assertThat(expected).hasMessageThat().matches(pattern);
          Matcher matcher = pattern.matcher(expected.getMessage());
          assertThat(matcher.matches()).isTrue();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/package-info.java

     * <h2>Forwarding collections</h2>
     *
     * We provide implementations of collections that forward all method calls to a delegate collection
     * by default. Subclasses can override one or more methods to implement the decorator pattern. For
     * an example, see {@link ForwardingCollection}.
     *
     * <h2>Other</h2>
     *
     * <ul>
     *   <li>{@link EvictingQueue}
     *   <li>{@link Interner}, {@link Interners}
     *   <li>{@link MapMaker}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Doubles.java

       */
      @GwtIncompatible // regular expressions
      static final
      java.util.regex.Pattern
          FLOATING_POINT_PATTERN = fpPattern();
    
      @GwtIncompatible // regular expressions
      private static
      java.util.regex.Pattern
          fpPattern() {
        /*
         * We use # instead of * for possessive quantifiers. This lets us strip them out when building
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

      }-*/;
    
      @JsType(isNative = true, name = "number", namespace = GLOBAL)
      private interface Number {
        double toPrecision(int precision);
      }
    
      static CommonPattern compilePattern(String pattern) {
        throw new UnsupportedOperationException();
      }
    
      static boolean patternCompilerIsPcreLike() {
        throw new UnsupportedOperationException();
      }
    
      private Platform() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 17:58:45 GMT 2023
    - 2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(BigInteger.class, BigInteger.ZERO)
              .put(BigDecimal.class, BigDecimal.ZERO)
              .put(CharSequence.class, "")
              .put(String.class, "")
              .put(Pattern.class, Pattern.compile(""))
              .put(MatchResult.class, createMatchResult())
              .put(TimeUnit.class, TimeUnit.SECONDS)
              .put(Charset.class, Charsets.UTF_8)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(BigInteger.class, BigInteger.ZERO)
              .put(BigDecimal.class, BigDecimal.ZERO)
              .put(CharSequence.class, "")
              .put(String.class, "")
              .put(Pattern.class, Pattern.compile(""))
              .put(MatchResult.class, createMatchResult())
              .put(TimeUnit.class, TimeUnit.SECONDS)
              .put(Charset.class, Charsets.UTF_8)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          // different from each other. If buildKeepingLast() collapsed duplicates, that might end up
          // not being true.
          Pattern pattern = Pattern.compile("Multiple entries with same key: four=(.*) and four=(.*)");
          assertThat(expected).hasMessageThat().matches(pattern);
          Matcher matcher = pattern.matcher(expected.getMessage());
          assertThat(matcher.matches()).isTrue();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Functions.java

       * for more important information about the Java 8+ transition.
       */
      public static Function<Object, String> toStringFunction() {
        return ToStringFunction.INSTANCE;
      }
    
      // enum singleton pattern
      private enum ToStringFunction implements Function<Object, String> {
        INSTANCE;
    
        @Override
        public String apply(Object o) {
          checkNotNull(o); // eager for GWT.
          return o.toString();
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return Integer.toString(generateInt());
      }
    
      @Generates
      Comparable<?> generateComparable() {
        return generateString();
      }
    
      @Generates
      Pattern generatePattern() {
        return Pattern.compile(generateString());
      }
    
      @Generates
      Charset generateCharset() {
        return pickInstance(Charset.availableCharsets().values(), Charsets.UTF_8);
      }
    
      @Generates
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
Back to top