Tabnine Logo
Joiner
Code IndexAdd Tabnine to your IDE (free)

How to use
Joiner
in
jersey.repackaged.com.google.common.base

Best Java code snippets using jersey.repackaged.com.google.common.base.Joiner (Showing top 20 results out of 315)

origin: opensourceBIM/BIMserver

@Override
public String toString() {
  return roid + " " + nrTriangles + " " + Joiner.on(", ").join(excludedTypes);
}
origin: com.eclipsesource.jaxrs/jersey-all

/**
 * Returns a joiner which automatically places {@code separator} between consecutive elements.
 */
public static Joiner on(String separator) {
 return new Joiner(separator);
}
origin: org.glassfish.jersey.bundles.repackaged/jersey-guava

@Override public String toString() {
 return "Predicates.and(" + COMMA_JOINER.join(components) + ")";
}
private static final long serialVersionUID = 0;
origin: hstaudacher/osgi-jax-rs-connector

 @Override public String toString() {
  return Joiner.on(", ")
    .appendTo(new StringBuilder().append('['), this)
    .append(']')
    .toString();
 }
};
origin: hstaudacher/osgi-jax-rs-connector

/**
 * Returns a string containing the string representation of each of {@code parts}, using the
 * previously configured separator between each.
 */
public final String join(Object[] parts) {
 return join(Arrays.asList(parts));
}
origin: hstaudacher/osgi-jax-rs-connector

/**
 * Appends the string representation of each of {@code parts}, using the previously configured
 * separator between each, to {@code builder}. Identical to {@link #appendTo(Appendable,
 * Iterable)}, except that it does not throw {@link IOException}.
 */
public final StringBuilder appendTo(StringBuilder builder, Iterable<?> parts) {
 return appendTo(builder, parts.iterator());
}
origin: org.glassfish.jersey.bundles.repackaged/jersey-guava

@Override CharSequence toString(@Nullable Object part) {
 return (part == null) ? nullText : Joiner.this.toString(part);
}
origin: com.eclipsesource.jaxrs/jersey-all

@Override public String toString() {
 return "Predicates.and(" + COMMA_JOINER.join(components) + ")";
}
private static final long serialVersionUID = 0;
origin: org.glassfish.jersey.bundles.repackaged/jersey-guava

 @Override public String toString() {
  return Joiner.on(", ")
    .appendTo(new StringBuilder().append('['), this)
    .append(']')
    .toString();
 }
};
origin: org.glassfish.jersey.bundles.repackaged/jersey-guava

/**
 * Returns a string containing the string representation of each of {@code parts}, using the
 * previously configured separator between each.
 */
public final String join(Object[] parts) {
 return join(Arrays.asList(parts));
}
origin: com.eclipsesource.jaxrs/jersey-all

/**
 * Appends the string representation of each of {@code parts}, using the previously configured
 * separator between each, to {@code builder}. Identical to {@link #appendTo(Appendable,
 * Iterable)}, except that it does not throw {@link IOException}.
 */
public final StringBuilder appendTo(StringBuilder builder, Iterable<?> parts) {
 return appendTo(builder, parts.iterator());
}
origin: hstaudacher/osgi-jax-rs-connector

@Override CharSequence toString(@Nullable Object part) {
 return (part == null) ? nullText : Joiner.this.toString(part);
}
origin: ru.lanwen.diff/uri-differ-lib

  @Override
  public String toString() {
    return String.format("Ignoring:%s", on(",").join(schemeCanBe));
  }
}
origin: hstaudacher/osgi-jax-rs-connector

@Override public String toString() {
 return "Predicates.and(" + COMMA_JOINER.join(components) + ")";
}
private static final long serialVersionUID = 0;
origin: com.eclipsesource.jaxrs/jersey-all

 @Override public String toString() {
  return Joiner.on(", ")
    .appendTo(new StringBuilder().append('['), this)
    .append(']')
    .toString();
 }
};
origin: hstaudacher/osgi-jax-rs-connector

/**
 * Returns a string containing the string representation of each of {@code parts}, using the
 * previously configured separator between each.
 */
public final String join(Object[] parts) {
 return join(Arrays.asList(parts));
}
origin: org.glassfish.jersey.bundles.repackaged/jersey-guava

/**
 * Appends the string representation of each of {@code parts}, using the previously configured
 * separator between each, to {@code builder}. Identical to {@link #appendTo(Appendable,
 * Iterable)}, except that it does not throw {@link IOException}.
 */
public final StringBuilder appendTo(StringBuilder builder, Iterable<?> parts) {
 return appendTo(builder, parts.iterator());
}
origin: com.eclipsesource.jaxrs/jersey-all

@Override CharSequence toString(@Nullable Object part) {
 return (part == null) ? nullText : Joiner.this.toString(part);
}
origin: org.glassfish.jersey.bundles.repackaged/jersey-guava

/**
 * Returns a joiner which automatically places {@code separator} between consecutive elements.
 */
public static Joiner on(String separator) {
 return new Joiner(separator);
}
origin: ru.lanwen.diff/uri-differ-lib

  @Override
  public String toString() {
    return String.format("%nChange: %s, deltas:%n\t%s", type, on("\n\t").join(diffs));
  }
}
jersey.repackaged.com.google.common.baseJoiner

Javadoc

An object which joins pieces of text (specified as an array, Iterable, varargs or even a Map) with a separator. It either appends the results to an Appendable or returns them as a String. Example:
    
Joiner joiner = Joiner.on("; ").skipNulls();

This returns the string "Harry; Ron; Hermione". Note that all input elements are converted to strings using Object#toString() before being appended.

If neither #skipNulls() nor #useForNull(String) is specified, the joining methods will throw NullPointerException if any given element is null.

Warning: joiner instances are always immutable; a configuration method such as useForNull has no effect on the instance it is invoked on! You must store and use the new joiner instance returned by the method. This makes joiners thread-safe, and safe to store as static final constants.

    
// Bad! Do not do this!

See the Guava User Guide article on Joiner.

Most used methods

  • join
    Returns a string containing the string representation of each of parts, using the previously configu
  • on
    Returns a joiner which automatically places separator between consecutive elements.
  • <init>
  • appendTo
    Appends the string representation of each of parts, using the previously configured separator betwee
  • toString

Popular in Java

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • requestLocationUpdates (LocationManager)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • ImageIO (javax.imageio)
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now