Package | Description |
---|---|
com.google.common.base |
Basic utility libraries and interfaces.
|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
Modifier and Type | Method and Description |
---|---|
static Joiner |
Joiner.on(char separator)
Returns a joiner which automatically places
separator between consecutive elements. |
static Joiner |
Joiner.on(String separator)
Returns a joiner which automatically places
separator between consecutive elements. |
Joiner |
Joiner.skipNulls()
Returns a joiner with the same behavior as this joiner, except automatically skipping over any
provided null elements.
|
Joiner |
Joiner.useForNull(String nullText)
Returns a joiner with the same behavior as this one, except automatically substituting
nullText for any provided null elements. |
Modifier and Type | Method and Description |
---|---|
String |
FluentIterable.join(Joiner joiner)
Returns a
String containing all of the elements of this fluent iterable joined with
joiner . |
Copyright © 2010–2017. All rights reserved.