Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for MyClass (0.08 sec)

  1. compat/maven-embedder/src/site/apt/logging.apt

     components or in plugins/component not requiring compatibility with previous Maven versions.
    
    +-----+
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    public class MyClass
    {
       final Logger logger = LoggerFactory.getLogger( MyClass.class );
    }
    +-----+
    
    * Logger Name
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy

    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    
    class ClassLinkMetaDataTest extends Specification {
    
        public static final String SIMPLE_CLASSNAME = 'MyClass'
        public static final String METHOD_NAME = 'calculate'
    
        def "can define and look up overloaded methods"() {
            given:
            ClassMetaData classMetaData = new ClassMetaData("org.gradle.$SIMPLE_CLASSNAME")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_BeanToBean() throws Exception {
            final MyClass src = new MyClass();
            src.setAaa("111");
            src.setCcc("333");
    
            final MyClass2 dest = new MyClass2();
            dest.setAaa("aaa");
            dest.setBbb("bbb");
            dest.setDdd("ddd");
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       *
       * <pre>
       * com...ExampleStackTrace: LockB -&gt; LockC
       *   at com...CycleDetectingReentrantLock.lock(CycleDetectingLockFactory.java:443)
       *   at ...
       *   at ...
       *   at com...MyClass.someMethodThatAcquiresLockB(MyClass.java:123)
       * </pre>
       */
      private static class ExampleStackTrace extends IllegalStateException {
    
        static final StackTraceElement[] EMPTY_STACK_TRACE = new StackTraceElement[0];
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * <pre>{@code
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * <pre>{@code
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top