Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Outer (0.11 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy

            then:
            name == 'org.gradle.SomeClass.Outer.Sibling'
            _ * classMetaData.innerClassNames >> []
            _ * classMetaData.outerClassName >> 'org.gradle.SomeClass.Outer'
            _ * metaDataRepository.get('org.gradle.SomeClass.Outer') >> outerClass
            _ * outerClass.innerClassNames >> ['org.gradle.SomeClass.Outer.Sibling']
        }
    
        def resolvesUnqualifiedNameToJavaLangPackage() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

    public class SynchronizedQueueTest extends TestCase {
    
      protected Queue<String> create() {
        TestQueue<String> inner = new TestQueue<>();
        Queue<String> outer = Synchronized.queue(inner, inner.mutex);
        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
      private static final class TestQueue<E> implements Queue<E> {
        private final Queue<E> delegate = Lists.newLinkedList();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/CaseFormatTest.java

      }
    
      public void testConverter_nullConversions() {
        for (CaseFormat outer : CaseFormat.values()) {
          for (CaseFormat inner : CaseFormat.values()) {
            assertNull(outer.converterTo(inner).convert(null));
            assertNull(outer.converterTo(inner).reverse().convert(null));
          }
        }
      }
    
      public void testConverter_toString() {
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

    public class SynchronizedDequeTest extends TestCase {
    
      protected Deque<String> create() {
        TestDeque<String> inner = new TestDeque<>();
        Deque<String> outer = Synchronized.deque(inner, inner.mutex);
        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
      private static final class TestDeque<E> implements Deque<E> {
        private final Deque<E> delegate = Lists.newLinkedList();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

    public class SynchronizedQueueTest extends TestCase {
    
      protected Queue<String> create() {
        TestQueue<String> inner = new TestQueue<>();
        Queue<String> outer = Synchronized.queue(inner, inner.mutex);
        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
      private static final class TestQueue<E> implements Queue<E> {
        private final Queue<E> delegate = Lists.newLinkedList();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

      public final Object mutex = new Object[0]; // something Serializable
    
      protected <K, V> Map<K, V> create() {
        TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex);
        Map<K, V> outer = Synchronized.map(inner, mutex);
        return outer;
      }
    
      static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable {
        public final Object mutex;
        private Map<K, V> delegate;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

      public final Object mutex = new Object[0]; // something Serializable
    
      protected <K, V> Map<K, V> create() {
        TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex);
        Map<K, V> outer = Synchronized.map(inner, mutex);
        return outer;
      }
    
      static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable {
        public final Object mutex;
        private Map<K, V> delegate;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithInnerTypes.groovy

         */
        static class InnerClass {
            InnerEnum enumProp
    
            /**
             * This is an inner inner class.
             */
            class AnotherInner {
                InnerClass outer
            }
        }
    
        GroovyInterface getSomeProp() {
            // ignore anonymous classes
            return new GroovyInterface() {}
        }
    
        InnerClass.AnotherInner innerClassProp
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 609 bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Partially.java

    import java.lang.annotation.Documented;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Outer class that exists solely to let us write {@code Partially.GwtIncompatible} instead of plain
     * {@code GwtIncompatible}. This is more accurate for {@link Futures#catching}, which is available
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

        matchesName(name.asString(), candidateName)
    
    
    private
    fun matchesName(name: String, candidateName: String) =
        name == candidateName.replace(".*\\$".toRegex(), "") // strip outer class names
    
    
    private
    fun BodyDeclaration<*>.isSince(version: String): Boolean =
        comment?.orElse(null)?.content?.contains("@since $version") == true
    
    
    private
    val FieldDeclaration.fieldName: String
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top