MCPcopy
hub / github.com/google/guava / convert

Method convert

guava/src/com/google/common/base/Converter.java:196–198  ·  view source on GitHub ↗

Returns a representation of {@code a} as an instance of type {@code B}. @return the converted value; is null <i>if and only if</i> {@code a} is null

(@Nullable A a)

Source from the content-addressed store, hash-verified

194 * @return the converted value; is null <i>if and only if</i> {@code a} is null
195 */
196 public final @Nullable B convert(@Nullable A a) {
197 return correctedDoForward(a);
198 }
199
200 @Nullable B correctedDoForward(@Nullable A a) {
201 if (handleNullAutomatically) {

Callers 15

nextMethod · 0.95
applyMethod · 0.95
elapsedMethod · 0.45
toStringMethod · 0.45
chooseUnitMethod · 0.45
blockingGetMethod · 0.45

Calls 1

correctedDoForwardMethod · 0.95