- Sort Score
- Result 10 results
- Languages All
Results 11 - 13 of 13 for sameClass (0.1 sec)
-
guava-testlib/src/com/google/common/testing/TestLogHandler.java
* super.setUp(); * handler = new TestLogHandler(); * SomeClass.logger.addHandler(handler); * addTearDown(new TearDown() { * public void tearDown() throws Exception { * SomeClass.logger.removeHandler(handler); * } * }); * } * * public void test() { * SomeClass.foo(); * LogRecord firstRecord = handler.getStoredLogRecords().get(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 20:53:25 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
* super.setUp(); * handler = new TestLogHandler(); * SomeClass.logger.addHandler(handler); * addTearDown(new TearDown() { * public void tearDown() throws Exception { * SomeClass.logger.removeHandler(handler); * } * }); * } * * public void test() { * SomeClass.foo(); * LogRecord firstRecord = handler.getStoredLogRecords().get(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 20:53:25 UTC 2024 - 2.8K 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}を含めたくない場合は、 * {@link #iterable(Class, boolean)}または{@link #ClassIterator(Class, boolean)}
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.2K bytes - Viewed (0)