Home
last modified time | relevance | path

Searched refs:targetFormat (Results 1 – 1 of 1) sorted by relevance

/external/guava/guava/src/com/google/common/base/
DCaseFormat.java158 public Converter<String, String> converterTo(CaseFormat targetFormat) { in converterTo() argument
159 return new StringConverter(this, targetFormat); in converterTo()
166 private final CaseFormat targetFormat; field in CaseFormat.StringConverter
168 StringConverter(CaseFormat sourceFormat, CaseFormat targetFormat) { in StringConverter() argument
170 this.targetFormat = checkNotNull(targetFormat); in StringConverter()
175 return s == null ? null : sourceFormat.to(targetFormat, s); in doForward()
180 return s == null ? null : targetFormat.to(sourceFormat, s); in doBackward()
187 && targetFormat.equals(that.targetFormat); in equals()
193 return sourceFormat.hashCode() ^ targetFormat.hashCode(); in hashCode()
197 return sourceFormat + ".converterTo(" + targetFormat + ")"; in toString()