- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 409 for pre (0.07 sec)
-
guava/src/com/google/common/base/Throwables.java
* * <pre> * for (Foo foo : foos) { * try { * foo.bar(); * } catch (BarException | RuntimeException | Error t) { * failure = t; * } * } * if (failure != null) { * throwIfInstanceOf(failure, BarException.class); * throwIfUnchecked(failure); * throw new AssertionError(failure); * } * </pre> * * @since 20.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnel.java
* * <pre>{@code * public enum PersonFunnel implements Funnel<Person> { * INSTANCE; * public void funnel(Person person, PrimitiveSink into) { * into.putUnencodedChars(person.getFirstName()) * .putUnencodedChars(person.getLastName()) * .putInt(person.getAge()); * } * } * }</pre> * * @author Dimitris Andreou * @since 11.0 */ @Beta
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Objects.java
* has three properties, {@code x}, {@code y}, and {@code z}, one could write: * * <pre>{@code * public int hashCode() { * return Objects.hashCode(getX(), getY(), getZ()); * } * }</pre> * * <p><b>Warning:</b> When a single object is supplied, the returned hash code does not equal the * hash code of that object. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/TestUtil.java
import org.hamcrest.Matcher; /** * @author koichik */ public abstract class TestUtil { /** * 実際の値が期待する{@literal clazz}と等しいかを検証する{@link Matcher}を返します。 * * <pre>assertThat(clazz, is(Xxx.class));</pre> * <p> * と書くと{@link CoreMatchers#is(Class)}が適用されて{@literal clazz}が {@literal Xxx} * のインスタンスかを検証されてしまうのでこれが必要。 * * @param clazz * 期待するクラス
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.4K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
assertThrows(ParseException.class, () -> cli.cli(request)); } /** * Read .mvn/maven.config with the following definitions: * <pre> * -T * 3 * -Drevision=1.3.0 * "-Dlabel=Apache Maven" * </pre> * and check if the {@code -T 3} option can be overwritten via command line * argument. * * @throws Exception in case of failure. */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
/** * {@link BufferedReader}から読み込んだ行単位の文字列を反復する{@link Iterator}です。 * <p> * 次のように使います. * </p> * * <pre> * import static org.codelibs.core.io.LineIterator.*; * * BufferedReader reader = ...; * for (String line : iterable(reader)) { * ... * } * </pre> * * @author koichik */ public class LineIterator implements Iterator<String> {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/context/SingletonContext.java
* <blockquote> * * <pre> * Exception MalformedURLException: unknown protocol: smb * at java.net.URL.<init>(URL.java:480) * at java.net.URL.<init>(URL.java:376) * at java.net.URL.<init>(URL.java:330) * at jcifs.smb.SmbFile.<init>(SmbFile.java:355) * ... * </pre> * * <blockquote> * */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 01 08:53:08 UTC 2019 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ContiguousSet.java
* * <pre>{@code * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers()) * }</pre> * * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this * particular example can be written as just: * * <pre>{@code * ContiguousSet.closed(5, 42) * }</pre> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 9.9K bytes - Viewed (0) -
android/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"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
/** * クラスの継承階層を親クラスに向かって反復する{@link Iterator}です。 * <p> * 次のように使います. * </p> * * <pre> * import static org.codelibs.core.lang.ClassIterator.*; * * Class<?> someClass = ...; * for (Class<?> clazz : iterable(someClass)) { * ... * } * </pre> * <p> * デフォルトでは{@link Object}クラスも反復の対象となります。 反復の対象に{@link Object}を含めたくない場合は、
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.2K bytes - Viewed (0)