MCPcopy Index your code
hub / github.com/processing/processing / interpolate

Method interpolate

app/src/processing/app/Language.java:198–205  ·  view source on GitHub ↗
(String key, Object... arguments)

Source from the content-addressed store, hash-verified

196
197
198 static public String interpolate(String key, Object... arguments) {
199 String value = get(key);
200 if (value == null) {
201 return key;
202 }
203// System.out.println(" interp for " + key + " is " + String.format(value, arguments));
204 return String.format(value, arguments);
205 }
206
207
208 static public String pluralize(String key, int count) {

Callers 15

pluralizeMethod · 0.95
nameCodeMethod · 0.95
handleDeleteCodeMethod · 0.95
saveAsMethod · 0.95
addFileMethod · 0.95
fileSelectedMethod · 0.95
installContributionMethod · 0.95
runMethod · 0.95
installOnStartUpMethod · 0.95
installMethod · 0.95

Calls 2

getMethod · 0.95
formatMethod · 0.65

Tested by

no test coverage detected