- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {ScheduledThreadPoolExecutor s =
new ScheduledThreadPoolExecutor(corePoolSize)
ThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
String str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
- Smart code suggestions by Codota
}
@Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendParamMT(values, formatter); return WKTKeywords.Param_MT; } });
/** * Formats this group as a pseudo-<cite>Well Known Text</cite> element. * * @param formatter the formatter where to format the inner content of this WKT element. * @return {@code "ParameterGroup"}. */ @Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendParamMT(this, formatter); return WKTKeywords.ParameterGroup; } }
@Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendParamMT(parameters, formatter); return WKTKeywords.Param_MT; } };
/** * Formats this group as a pseudo-<cite>Well Known Text</cite> element. * * @param formatter the formatter where to format the inner content of this WKT element. * @return {@code "ParameterGroup"}. */ @Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendParamMT(this, formatter); return WKTKeywords.ParameterGroup; } }
@Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendParamMT(values, formatter); return WKTKeywords.Param_MT; } });
@Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendParamMT(parameters, formatter); return WKTKeywords.Param_MT; } };
/** * Formats the inner part of a <cite>Well Known Text</cite> version 1 (WKT 1) element. * The default implementation formats all parameter values returned by {@link #getParameterValues()}. * The parameter group name is used as the math transform name. * * <div class="note"><b>Compatibility note:</b> * {@code Param_MT} is defined in the WKT 1 specification only. * If the {@linkplain Formatter#getConvention() formatter convention} is set to WKT 2, * then this method silently uses the WKT 1 convention without raising an error * (unless this {@code MathTransform} can not be formatted as valid WKT 1 neither).</div> * * @param formatter the formatter to use. * @return the WKT element name, which is {@code "Param_MT"} in the default implementation. */ @Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendParamMT(getParameterValues(), formatter); return WKTKeywords.Param_MT; }
/** * Formats the inner part of a <cite>Well Known Text</cite> version 1 (WKT 1) element. * The default implementation formats all parameter values returned by {@link #getParameterValues()}. * The parameter group name is used as the math transform name. * * <div class="note"><b>Compatibility note:</b> * {@code Param_MT} is defined in the WKT 1 specification only. * If the {@linkplain Formatter#getConvention() formatter convention} is set to WKT 2, * then this method silently uses the WKT 1 convention without raising an error * (unless this {@code MathTransform} can not be formatted as valid WKT 1 neither).</div> * * @param formatter the formatter to use. * @return the WKT element name, which is {@code "Param_MT"} in the default implementation. */ @Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendParamMT(getParameterValues(), formatter); return WKTKeywords.Param_MT; }
/** * Formats the inner part of a * <A HREF="http://www.geoapi.org/snapshot/javadoc/org/opengis/referencing/doc-files/WKT.html#INVERSE_MT"><cite>Well * Known Text</cite> (WKT)</A> element. If this inverse math transform * has any parameter values, then this method format the WKT as in the * {@linkplain AbstractMathTransform#formatWKT super-class method}. Otherwise * this method format the math transform as an <code>"INVERSE_MT"</code> entity. * * @param formatter The formatter to use. * @return The WKT element name, which is {@code "PARAM_MT"} or * {@code "INVERSE_MT"} in the default implementation. */ @Override public String formatTo(final Formatter formatter) { final ParameterValueGroup parameters = getParameterValues(); if (parameters != null) { WKTUtilities.appendParamMT(parameters, formatter); return "PARAM_MT"; } else { formatter.append((FormattableObject) AbstractMathTransform.this); return "INVERSE_MT"; } } }
/** * Formats a <cite>Well Known Text</cite> version 1 (WKT 1) element for a transform using this group of parameters. * * <div class="note"><b>Compatibility note:</b> * {@code Param_MT} is defined in the WKT 1 specification only. * If the {@linkplain Formatter#getConvention() formatter convention} is set to WKT 2, * then this method silently uses the WKT 1 convention without raising an error.</div> * * @return {@code "Param_MT"} or {@code "Inverse_MT"}. */ @Override protected String formatTo(final Formatter formatter) { if (inverse) { formatter.append(new WKT(false)); return WKTKeywords.Inverse_MT; } else { WKTUtilities.appendParamMT(getParameterValues(), formatter); return WKTKeywords.Param_MT; } } }
/** * Formats the inner part of a <cite>Well Known Text</cite> version 1 (WKT 1) element. * If this inverse math transform has any parameter values, then this method formats * the WKT as in the {@linkplain AbstractMathTransform#formatWKT super-class method}. * Otherwise this method formats the math transform as an {@code "Inverse_MT"} entity. * * <div class="note"><b>Compatibility note:</b> * {@code Param_MT} and {@code Inverse_MT} are defined in the WKT 1 specification only.</div> * * @param formatter the formatter to use. * @return the WKT element name, which is {@code "Param_MT"} or * {@code "Inverse_MT"} in the default implementation. */ @Override protected String formatTo(final Formatter formatter) { final ParameterValueGroup parameters = getParameterValues(); if (parameters != null) { WKTUtilities.appendParamMT(parameters, formatter); return WKTKeywords.Param_MT; } else { formatter.newLine(); formatter.append((FormattableObject) AbstractMathTransform.this); return WKTKeywords.Inverse_MT; } } }
/** * Formats a <cite>Well Known Text</cite> version 1 (WKT 1) element for a transform using this group of parameters. * * <div class="note"><b>Compatibility note:</b> * {@code Param_MT} is defined in the WKT 1 specification only. * If the {@linkplain Formatter#getConvention() formatter convention} is set to WKT 2, * then this method silently uses the WKT 1 convention without raising an error.</div> * * @return {@code "Param_MT"}. */ @Override protected String formatTo(final Formatter formatter) { if (inverse) { formatter.newLine(); formatter.append(new WKT(false)); return WKTKeywords.Inverse_MT; } else { WKTUtilities.appendParamMT(ContextualParameters.this, formatter); return WKTKeywords.Param_MT; } } }
/** * Formats a <cite>Well Known Text</cite> version 1 (WKT 1) element for a transform using this group of parameters. * * <div class="note"><b>Compatibility note:</b> * {@code Param_MT} is defined in the WKT 1 specification only. * If the {@linkplain Formatter#getConvention() formatter convention} is set to WKT 2, * then this method silently uses the WKT 1 convention without raising an error.</div> * * @return {@code "Param_MT"}. */ @Override protected String formatTo(final Formatter formatter) { if (inverse) { formatter.newLine(); formatter.append(new WKT(false)); return WKTKeywords.Inverse_MT; } else { WKTUtilities.appendParamMT(ContextualParameters.this, formatter); return WKTKeywords.Param_MT; } } }
/** * Formats a <cite>Well Known Text</cite> version 1 (WKT 1) element for a transform using this group of parameters. * * <div class="note"><b>Compatibility note:</b> * {@code Param_MT} is defined in the WKT 1 specification only. * If the {@linkplain Formatter#getConvention() formatter convention} is set to WKT 2, * then this method silently uses the WKT 1 convention without raising an error.</div> * * @return {@code "Param_MT"} or {@code "Inverse_MT"}. */ @Override protected String formatTo(final Formatter formatter) { if (inverse) { formatter.append(new WKT(false)); return WKTKeywords.Inverse_MT; } else { WKTUtilities.appendParamMT(getParameterValues(), formatter); return WKTKeywords.Param_MT; } } }
/** * Formats the inner part of a <cite>Well Known Text</cite> version 1 (WKT 1) element. * If this inverse math transform has any parameter values, then this method formats * the WKT as in the {@linkplain AbstractMathTransform#formatWKT super-class method}. * Otherwise this method formats the math transform as an {@code "Inverse_MT"} entity. * * <div class="note"><b>Compatibility note:</b> * {@code Param_MT} and {@code Inverse_MT} are defined in the WKT 1 specification only.</div> * * @param formatter the formatter to use. * @return the WKT element name, which is {@code "Param_MT"} or * {@code "Inverse_MT"} in the default implementation. */ @Override protected String formatTo(final Formatter formatter) { final ParameterValueGroup parameters = getParameterValues(); if (parameters != null) { WKTUtilities.appendParamMT(parameters, formatter); return WKTKeywords.Param_MT; } else { formatter.newLine(); formatter.append((FormattableObject) inverse()); return WKTKeywords.Inverse_MT; } } }