- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for template (0.18 sec)
-
guava/src/com/google/common/base/Strings.java
* recognized. * * @param template a string containing zero or more {@code "%s"} placeholder sequences. {@code * null} is treated as the four-character string {@code "null"}. * @param args the arguments to be substituted into the message template. The first argument * specified is substituted for the first occurrence of {@code "%s"} in the template, and so
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Sep 17 20:47:03 GMT 2021 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleUtilsTest.java
} public void testOneBits() { assertEquals(DoubleUtils.ONE_BITS, Double.doubleToRawLongBits(1.0)); } private static void failFormat(String template, Object... args) { fail(String.format(template, args)); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/ScriptEngine.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 793 bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java
static String format(String template, Object... args) { // start substituting the arguments into the '%s' placeholders StringBuilder builder = new StringBuilder(template.length() + 16 * args.length); int templateStart = 0; int i = 0; while (i < args.length) { int placeholderStart = template.indexOf("%s", templateStart); if (placeholderStart == -1) { break;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Oct 04 15:31:40 GMT 2023 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
if (StringUtil.isEmpty(template)) { return StringUtil.EMPTY; } if (paramMap.containsKey(template)) { return paramMap.get(template); } return ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(template, paramMap); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.3K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
target = evaluateValue(scriptType, template, paramMap); } if (key != null && target != null) { putResultDataBody(dataMap, key, target); } } default Object evaluateValue(final String scriptType, final String template, final Map<String, Object> paramMap) { if (StringUtil.isEmpty(template)) { return StringUtil.EMPTY; }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 8.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java
public Object evaluate(String template, Map<String, Object> paramMap) { final Map<String, Object> bindingMap = new HashMap<>(paramMap); bindingMap.put("container", SingletonLaContainerFactory.getContainer()); final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap)); try { return groovyShell.evaluate(template);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/RelationshipTester.java
unrelatedInfo, !equivalence.equivalent(itemInfo.value, unrelatedInfo.value)); } private void assertWithTemplate(String template, Item<T> item, Item<T> other, boolean condition) { if (!condition) { throw new AssertionFailedError( template .replace("$RELATIONSHIP", relationshipName) .replace("$HASH", hashName)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Apr 25 11:57:12 GMT 2023 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 40.1K bytes - Viewed (2) -
android/guava/src/com/google/common/base/Preconditions.java
* * @param expression a boolean expression * @param errorMessageTemplate a template for the exception message should the check fail. The * message is formed by replacing each {@code %s} placeholder in the template with an * argument. These are matched by position - the first {@code %s} gets {@code
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0)