Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MyClass (0.18 sec)

  1. 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")
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  2. 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");
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  3. 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>
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. 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>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  5. android/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];
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
Back to top