- 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
}
/** Formats this {@code Conversion} element. */ @Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendName(conversion, formatter, null); formatter.newLine(); append(formatter); return WKTKeywords.Conversion; }
/** Formats this {@code Conversion} element. */ @Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendName(conversion, formatter, null); formatter.newLine(); append(formatter); return WKTKeywords.Conversion; }
/** * Appends a {@linkplain ParameterValueGroup group of parameters} in a {@code Param_MT[…]} element. * * @param parameters the parameter to append to the WKT, or {@code null} if none. * @param formatter the formatter where to append the parameter. */ public static void appendParamMT(final ParameterValueGroup parameters, final Formatter formatter) { if (parameters != null) { appendName(parameters.getDescriptor(), formatter, ElementKind.PARAMETER); append(parameters, formatter); } }
/** * Appends a {@linkplain ParameterValueGroup group of parameters} in a {@code Param_MT[…]} element. * * @param parameters the parameter to append to the WKT, or {@code null} if none. * @param formatter the formatter where to append the parameter. */ public static void appendParamMT(final ParameterValueGroup parameters, final Formatter formatter) { if (parameters != null) { appendName(parameters.getDescriptor(), formatter, ElementKind.PARAMETER); append(parameters, formatter); } }
WKTUtilities.appendName(this, formatter, ElementKind.forType(getClass())); return null;
WKTUtilities.appendName(this, formatter, ElementKind.forType(getClass())); return null;
@Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendName(conversion, formatter, null); formatter.newLine(); formatter.append(DefaultOperationMethod.castOrCopy(conversion.getMethod())); formatter.newLine(); for (final GeneralParameterValue param : conversion.getParameterValues().values()) { WKTUtilities.append(param, formatter); } return WKTKeywords.DerivingConversion; } });
@Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendName(conversion, formatter, null); formatter.newLine(); formatter.append(DefaultOperationMethod.castOrCopy(conversion.getMethod())); formatter.newLine(); for (final GeneralParameterValue param : conversion.getParameterValues().values()) { WKTUtilities.append(param, formatter); } return WKTKeywords.DerivingConversion; } });
WKTUtilities.appendName(this, formatter, null); final Convention convention = formatter.getConvention(); final List<? extends CoordinateReferenceSystem> crs;
WKTUtilities.appendName(this, formatter, null); final Convention convention = formatter.getConvention(); final List<? extends CoordinateReferenceSystem> crs;
/** * Formats a pseudo-<cite>Well Known Text</cite> (WKT) representation for this object. * The format produced by this method is non-standard and may change in any future Apache SIS version. * * @param formatter the formatter where to format the inner content of this pseudo-WKT element. * @return an arbitrary keyword for the pseudo-WKT element. */ @Debug @Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendName(this, formatter, ElementKind.NAME); if (theme != null) { formatter.newLine(); formatter.append(new SubElement("Theme", theme)); } if (overallOwner != null) { formatter.newLine(); formatter.append(new SubElement("Owner", overallOwner.getName())); } for (final AbstractLocationType type : locationTypes) { formatter.newLine(); formatter.append(new SubElement("LocationType", type.getName())); } return "ReferenceSystemUsingIdentifiers"; }
protected String formatTo(final Formatter formatter) { final ParameterDescriptor<T> descriptor = getDescriptor(); // Gives to users a chance to override this property. WKTUtilities.appendName(descriptor, formatter, ElementKind.PARAMETER); final Convention convention = formatter.getConvention(); final boolean isWKT1 = convention.majorVersion() == 1;
protected String formatTo(final Formatter formatter) { final ParameterDescriptor<T> descriptor = getDescriptor(); // Gives to users a chance to override this property. WKTUtilities.appendName(descriptor, formatter, ElementKind.PARAMETER); final Convention convention = formatter.getConvention(); final boolean isWKT1 = convention.majorVersion() == 1;
WKTUtilities.appendName(this, formatter, null); final Convention convention = formatter.getConvention(); final boolean isWKT1 = (convention.majorVersion() == 1);
WKTUtilities.appendName(this, formatter, null); final Convention convention = formatter.getConvention(); final boolean isWKT1 = (convention.majorVersion() == 1);
WKTUtilities.appendName(this, formatter, null); final Convention convention = formatter.getConvention(); final boolean isWKT1 = (convention.majorVersion() == 1);
WKTUtilities.appendName(this, formatter, null); final Convention convention = formatter.getConvention(); final boolean isWKT1 = (convention.majorVersion() == 1);
WKTUtilities.appendName(this, formatter, null); CoordinateSystem cs = getCoordinateSystem(); final Convention convention = formatter.getConvention();
WKTUtilities.appendName(this, formatter, null); CoordinateSystem cs = getCoordinateSystem(); final Convention convention = formatter.getConvention();