- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 286 for pre (0.16 sec)
-
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
if (StringUtil.isBlank(content)) { return "<pre class=\"" + style + "\">" + input.replaceAll("L[0-9]+:", StringUtil.EMPTY).trim() + "</pre>"; } return "<pre class=\"" + style + " linenums:" + lineNum + "\">" + content + "</pre>"; } public static String getMessage(final String key, final String defaultValue) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
@J2ktIncompatible @GwtIncompatible // SerializableTester public void testIsNull_serialization() { Predicate<String> pre = Predicates.isNull(); Predicate<String> post = SerializableTester.reserializeAndAssert(pre); assertEquals(pre.apply("foo"), post.apply("foo")); assertEquals(pre.apply(null), post.apply(null)); } public void testNotNull_apply() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 32.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List) * Collections.unmodifiableList}'s iterator: * * <pre>{@code * List<String> expectedElements = * Arrays.asList("a", "b", "c", "d", "e"); * List<String> actualElements = * Collections.unmodifiableList( * Arrays.asList("a", "b", "c", "d", "e"));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Tester for equals() and hashCode() methods of a class. * * <p>The simplest use case is: * * <pre> * new EqualsTester().addEqualityGroup(foo).testEquals(); * </pre> * * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 31 19:11:50 GMT 2023 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* factory classes like: * * <pre> * interface Book {...} * public class Books { * public static Book hardcover(String title) {...} * public static Book paperback(String title) {...} * } * </pre> * * <p>And all the created {@code Book} instances can be tested with: * * <pre> * new ClassSanityTester() * .forAllPublicStaticMethods(Books.class)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
guava/src/com/google/common/base/Optional.java
* {@code Optional} class. However, this common usage: * * <pre>{@code * for (Foo foo : possibleFoo.asSet()) { * doSomethingWith(foo); * } * }</pre> * * ... can be replaced with: * * <pre>{@code * possibleFoo.ifPresent(foo -> doSomethingWith(foo)); * }</pre> *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* empty, passed directly to this method, and no reference to the map is retained, as illustrated * in the following code fragment: * * <pre>{@code * Set<Object> identityHashSet = Sets.newSetFromMap( * new IdentityHashMap<Object, Boolean>()); * }</pre> * * <p>The returned set is serializable if the backing map is. * * @param map the backing map * @return the set backed by the map
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java
import org.codelibs.core.misc.DisposableUtil; /** * {@link BeanDesc}を生成するクラスです。 * <p> * 指定されたJavaBeansのメタデータを扱う{@link BeanDesc}を返します。 * </p> * * <pre> * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class); * </pre> * <p> * {@link BeanDesc}はキャッシュされます。 キャッシュをクリアするには{@link DisposableUtil#dispose()} * を呼び出してください。 * </p> * * @author higa * @see BeanDesc * @see DisposableUtil */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CloseableUtil.java
* {@link Closeable#close()}が例外をスローした場合はログにエラーメッセージを出力します。 * 例外は再スローされません。これは、次のような状況で元の例外が失われるのを防ぐためです。 * </p> * * <pre> * InputStream is = ...; * try { * is.read(...); * } finaly { * close(is); * } * </pre> * <p> * {@literal try}ブロックで例外が発生した場合、{@literal finally}ブロックの * {@link #close(Closeable)}でも 例外が発生する可能性があります。その場合に{@literal finally}
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.5K bytes - Viewed (0)