MCPcopy Create free account
hub / github.com/antlr/codebuff / trimResults

Method trimResults

output/java_guava/1.4.13/Splitter.java:361–363  ·  view source on GitHub ↗

Returns a splitter that behaves equivalently to this splitter, but automatically removes leading and trailing plain CharMatcher#whitespace whitespace from each returned substring; equivalent to trimResults(CharMatcher.whitespace()). For example, {@code Splitter.on(',').trimRes

()

Source from the content-addressed store, hash-verified

359
360
361 public Splitter trimResults() {
362 return trimResults(CharMatcher.whitespace());
363 }
364
365 /**
366 * Returns a splitter that behaves equivalently to {@code this} splitter, but removes all leading

Callers 1

CacheBuilderSpecClass · 0.45

Calls 2

whitespaceMethod · 0.95
checkNotNullMethod · 0.45

Tested by

no test coverage detected