Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 226 for replacement (0.19 sec)

  1. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

        if (map.isEmpty()) {
          return EMPTY_REPLACEMENT_ARRAY;
        }
        char max = Collections.max(map.keySet());
        char[][] replacements = new char[max + 1][];
        for (Character c : map.keySet()) {
          replacements[c] = map.get(c).toCharArray();
        }
        return replacements;
      }
    
      // Immutable empty array for when there are no replacements.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

      /**
       * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified
       * safe range. If {@code safeMax < safeMin} then no code points are considered safe. This
       * initializer is useful when explicit instances of ArrayBasedEscaperMap are used to allow the
       * sharing of large replacement mappings.
       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

      /**
       * Creates a new ArrayBasedCharEscaper instance with the given replacement map and specified safe
       * range. If {@code safeMax < safeMin} then no characters are considered safe. This initializer is
       * useful when explicit instances of ArrayBasedEscaperMap are used to allow the sharing of large
       * replacement mappings.
       *
       * <p>If a character has no mapped replacement then it is checked against the safe range. If it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

      /**
       * Simple decorator that turns an array of replacement char[]s into a CharEscaper, this results in
       * a very fast escape method.
       */
      private static class CharArrayDecorator extends CharEscaper {
        private final char[] @Nullable [] replacements;
        private final int replaceLength;
    
        CharArrayDecorator(char[] @Nullable [] replacements) {
          this.replacements = replacements;
          this.replaceLength = replacements.length;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/BsPathMapping.java

            this.regex = value;
        }
    
        public String getReplacement() {
            checkSpecifiedProperty("replacement");
            return convertEmptyToNull(replacement);
        }
    
        public void setReplacement(String value) {
            registerModifiedProperty("replacement");
            this.replacement = value;
        }
    
        public Integer getSortOrder() {
            checkSpecifiedProperty("sortOrder");
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

         */
        public void manageArtifact(Artifact artifact, Artifact replacement) {
            String msg = indent + artifact;
            msg += " (";
            if (replacement.getVersion() != null) {
                msg += "applying version: " + replacement.getVersion() + ";";
            }
            if (replacement.getScope() != null) {
                msg += "applying artifactScope: " + replacement.getScope();
            }
            msg += ")";
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsPathMappingCQ.java

        public void setReplacement_Equal(String replacement) {
            setReplacement_Term(replacement, null);
        }
    
        public void setReplacement_Equal(String replacement, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setReplacement_Term(replacement, opLambda);
        }
    
        public void setReplacement_Term(String replacement) {
            setReplacement_Term(replacement, null);
        }
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 72.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/Escapers.java

         * @throws NullPointerException if {@code replacement} is null
         */
        @CanIgnoreReturnValue
        public Builder addEscape(char c, String replacement) {
          checkNotNull(replacement);
          // This can replace an existing character (the builder is re-usable).
          replacementMap.put(c, replacement);
          return this;
        }
    
        /** Returns a new escaper based on the current state of the builder. */
        public Escaper build() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/CharMatcher.java

          if (matches(c)) {
            if (c == replacement && (i == len - 1 || !matches(sequence.charAt(i + 1)))) {
              // a no-op replacement
              i++;
            } else {
              StringBuilder builder = new StringBuilder(len).append(sequence, 0, i).append(replacement);
              return finishCollapseFrom(sequence, i + 1, len, replacement, builder, true);
            }
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  10. .idea/inspectionProfiles/Gradle.xml

            <constraint name="__context__" within="" contains="" />
            <constraint name="src" within="" contains="" />
    XML
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Apr 11 13:39:08 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top