/** * Gets a customized string form for this instance. * * @param prefix {@code null-ok;} prefix for the start of the result * @param separator {@code null-ok;} separator to insert between each item * @param suffix {@code null-ok;} suffix for the end of the result * @return {@code non-null;} the custom string */ public String toString(String prefix, String separator, String suffix) { return toString0(prefix, separator, suffix, false); }
/** * Gets a customized string form for this instance. * * @param prefix {@code null-ok;} prefix for the start of the result * @param separator {@code null-ok;} separator to insert between each item * @param suffix {@code null-ok;} suffix for the end of the result * @return {@code non-null;} the custom string */ public String toString(String prefix, String separator, String suffix) { return toString0(prefix, separator, suffix, false); }
/** * Gets a customized string form for this instance. * * @param prefix {@code null-ok;} prefix for the start of the result * @param separator {@code null-ok;} separator to insert between each item * @param suffix {@code null-ok;} suffix for the end of the result * @return {@code non-null;} the custom string */ public String toString(String prefix, String separator, String suffix) { return toString0(prefix, separator, suffix, false); }
/** * Gets a customized human string for this instance. This method will * only work if every element of the list implements {@link * ToHuman}. * * @param prefix {@code null-ok;} prefix for the start of the result * @param separator {@code null-ok;} separator to insert between each item * @param suffix {@code null-ok;} suffix for the end of the result * @return {@code non-null;} the custom string */ public String toHuman(String prefix, String separator, String suffix) { return toString0(prefix, separator, suffix, true); }
/** * Gets a customized human string for this instance. This method will * only work if every element of the list implements {@link * ToHuman}. * * @param prefix {@code null-ok;} prefix for the start of the result * @param separator {@code null-ok;} separator to insert between each item * @param suffix {@code null-ok;} suffix for the end of the result * @return {@code non-null;} the custom string */ public String toHuman(String prefix, String separator, String suffix) { return toString0(prefix, separator, suffix, true); }
/** * Gets a customized string form for this instance. * * @param prefix {@code null-ok;} prefix for the start of the result * @param separator {@code null-ok;} separator to insert between each item * @param suffix {@code null-ok;} suffix for the end of the result * @return {@code non-null;} the custom string */ public String toString(String prefix, String separator, String suffix) { return toString0(prefix, separator, suffix, false); }
/** * Gets a customized string form for this instance. * * @param prefix {@code null-ok;} prefix for the start of the result * @param separator {@code null-ok;} separator to insert between each item * @param suffix {@code null-ok;} suffix for the end of the result * @return {@code non-null;} the custom string */ public String toString(String prefix, String separator, String suffix) { return toString0(prefix, separator, suffix, false); }
/** * Gets a customized string form for this instance. * * @param prefix {@code null-ok;} prefix for the start of the result * @param separator {@code null-ok;} separator to insert between each item * @param suffix {@code null-ok;} suffix for the end of the result * @return {@code non-null;} the custom string */ public String toString(String prefix, String separator, String suffix) { return toString0(prefix, separator, suffix, false); }
/** * Gets a customized string form for this instance. * * @param prefix {@code null-ok;} prefix for the start of the result * @param separator {@code null-ok;} separator to insert between each item * @param suffix {@code null-ok;} suffix for the end of the result * @return {@code non-null;} the custom string */ public String toString(String prefix, String separator, String suffix) { return toString0(prefix, separator, suffix, false); }
/** * Gets a customized string form for this instance. * * @param prefix {@code null-ok;} prefix for the start of the result * @param separator {@code null-ok;} separator to insert between each item * @param suffix {@code null-ok;} suffix for the end of the result * @return {@code non-null;} the custom string */ public String toString(String prefix, String separator, String suffix) { return toString0(prefix, separator, suffix, false); }
/** {@inheritDoc} */ @Override public String toString() { String name = getClass().getName(); return toString0(name.substring(name.lastIndexOf('.') + 1) + '{', ", ", "}", false); }
/** {@inheritDoc} */ @Override public String toString() { String name = getClass().getName(); return toString0(name.substring(name.lastIndexOf('.') + 1) + '{', ", ", "}", false); }
/** {@inheritDoc} */ @Override public String toString() { String name = getClass().getName(); return toString0(name.substring(name.lastIndexOf('.') + 1) + '{', ", ", "}", false); }
/** {@inheritDoc} */ @Override public String toString() { String name = getClass().getName(); return toString0(name.substring(name.lastIndexOf('.') + 1) + '{', ", ", "}", false); }
/** {@inheritDoc} */ @Override public String toString() { String name = getClass().getName(); return toString0(name.substring(name.lastIndexOf('.') + 1) + '{', ", ", "}", false); }
/** {@inheritDoc} */ @Override public String toString() { String name = getClass().getName(); return toString0(name.substring(name.lastIndexOf('.') + 1) + '{', ", ", "}", false); }
/** {@inheritDoc} */ @Override public String toString() { String name = getClass().getName(); return toString0(name.substring(name.lastIndexOf('.') + 1) + '{', ", ", "}", false); }
/** * {@inheritDoc} * * This method will only work if every element of the list * implements {@link ToHuman}. */ @Override public String toHuman() { String name = getClass().getName(); return toString0(name.substring(name.lastIndexOf('.') + 1) + '{', ", ", "}", true); }
/** {@inheritDoc} */ @Override public String toString() { String name = getClass().getName(); return toString0(name.substring(name.lastIndexOf('.') + 1) + '{', ", ", "}", false); }
/** * {@inheritDoc} * * This method will only work if every element of the list * implements {@link ToHuman}. */ public String toHuman() { String name = getClass().getName(); return toString0(name.substring(name.lastIndexOf('.') + 1) + '{', ", ", "}", true); }