Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ANONYMOUS (0.06 sec)

  1. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        final int i = 1;
        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
        Constructor<?> constructor = anonymous.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/InvokableTest.java

        final int i = 1;
        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
        Constructor<?> constructor = anonymous.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertTrue(toTest, toTest.matches(".*\\{\\}"));
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_moreThanNineAnonymousClasses() {
        // The nth anonymous class has a name ending like "Outer.$n"
        Object unused1 = new Object() {};
        Object unused2 = new Object() {};
        Object unused3 = new Object() {};
        Object unused4 = new Object() {};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       *
       * @return the fully constructed {@link ThreadFactory}
       */
      public ThreadFactory build() {
        return doBuild(this);
      }
    
      // Split out so that the anonymous ThreadFactory can't contain a reference back to the builder.
      // At least, I assume that's why. TODO(cpovirk): Check, and maybe add a test for this.
      private static ThreadFactory doBuild(ThreadFactoryBuilder builder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:50:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            assertLocalArtifactPresent(b);
        }
    
        @Override
        protected Artifact createArtifact(String groupId, String artifactId, String version, String type) throws Exception {
            // for the anonymous classes
            return super.createArtifact(groupId, artifactId, version, type);
        }
    
        @Test
        void testTransitiveResolutionWhereAllArtifactsArePresentInTheLocalRepository() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. cmd/warm-backend-gcs.go

    	}
    
    	if len(googleAPIErr.Errors) == 0 {
    		return err
    	}
    
    	reason := googleAPIErr.Errors[0].Reason
    	message := googleAPIErr.Errors[0].Message
    
    	switch reason {
    	case "required":
    		// Anonymous users does not have storage.xyz access to project 123.
    		fallthrough
    	case "keyInvalid":
    		fallthrough
    	case "forbidden":
    		err = PrefixAccessDenied{
    			Bucket: bucket,
    			Object: object,
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. android/pom.xml

                  <exclude>%regex[.*Tester.class]</exclude>
                  <!-- Anonymous TestCase subclasses in GeneratedMonitorTest -->
                  <exclude>%regex[.*[$]\d+.class]</exclude>
                </excludes>
                <redirectTestOutputToFile>true</redirectTestOutputToFile>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. pom.xml

                  <exclude>%regex[.*Tester.class]</exclude>
                  <!-- Anonymous TestCase subclasses in GeneratedMonitorTest -->
                  <exclude>%regex[.*[$]\d+.class]</exclude>
                </excludes>
                <redirectTestOutputToFile>true</redirectTestOutputToFile>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Graph.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * An interface for <a
     * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data,
     * whose edges are anonymous entities with no identity or information of their own.
     *
     * <p>A graph is composed of a set of nodes and a set of edges connecting pairs of nodes.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Graph.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * An interface for <a
     * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data,
     * whose edges are anonymous entities with no identity or information of their own.
     *
     * <p>A graph is composed of a set of nodes and a set of edges connecting pairs of nodes.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top