Home | History | Annotate | Download | only in base

Lines Matching refs:secondary

862    * secondary one if there is no escaping.
866 * character, it will use the secondary escaper. If the secondary escaper has
868 * If the primary escaper has an escape for a character, the secondary escaper
870 * primary is not run through the secondary. For a case where you would like
875 * @param secondary The secondary {@code CharEscaper} to use if the first one
880 CharEscaper secondary) {
882 checkNotNull(secondary);
883 return new FallThroughCharEscaper(primary, secondary);
1078 * using a primary {@code CharEscaper} first and falls back to a secondary
1084 private final CharEscaper secondary;
1086 public FallThroughCharEscaper(CharEscaper primary, CharEscaper secondary) {
1088 this.secondary = secondary;
1095 result = secondary.escape(c);