Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for classname (0.26 sec)

  1. guava/src/com/google/common/base/MoreObjects.java

       * #toStringHelper(Object)}, but using {@code className} instead of using an instance's {@link
       * Object#getClass()}.
       *
       * @param className the name of the instance type
       * @since 18.0 (since 7.0 as {@code Objects.toStringHelper()}).
       */
      public static ToStringHelper toStringHelper(String className) {
        return new ToStringHelper(className);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

      void setUp() throws Exception {
        String prefix =
            (useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent.");
        String className = prefix + queueType + "BlockingQueue";
        Constructor<?> constructor = Class.forName(className).getConstructor(int.class);
        queue = (BlockingQueue<String>) constructor.newInstance(capacity);
    
        strings = new String[capacity];
        for (int i = 0; i < capacity; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

      @J2ktIncompatible @GwtIncompatible // not used by GWT emulation
      private static final String JAVA_LANG_ACCESS_CLASSNAME = "sun.misc.JavaLangAccess";
    
      /** SharedSecrets class name to load using reflection */
      @J2ktIncompatible
      @GwtIncompatible // not used by GWT emulation
      @VisibleForTesting
      static final String SHARED_SECRETS_CLASSNAME = "sun.misc.SharedSecrets";
    
      /** Access to some fancy internal JVM internals. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Throwables.java

      @J2ktIncompatible @GwtIncompatible // not used by GWT emulation
      private static final String JAVA_LANG_ACCESS_CLASSNAME = "sun.misc.JavaLangAccess";
    
      /** SharedSecrets class name to load using reflection */
      @J2ktIncompatible
      @GwtIncompatible // not used by GWT emulation
      @VisibleForTesting
      static final String SHARED_SECRETS_CLASSNAME = "sun.misc.SharedSecrets";
    
      /** Access to some fancy internal JVM internals. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/MoreObjects.java

       * #toStringHelper(Object)}, but using {@code className} instead of using an instance's {@link
       * Object#getClass()}.
       *
       * @param className the name of the instance type
       * @since 18.0 (since 7.0 as {@code Objects.toStringHelper()}).
       */
      public static ToStringHelper toStringHelper(String className) {
        return new ToStringHelper(className);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/ClassPath.java

       *
       * @since 14.0
       */
      public static final class ClassInfo extends ResourceInfo {
        private final String className;
    
        ClassInfo(File file, String resourceName, ClassLoader loader) {
          super(file, resourceName, loader);
          this.className = getClassName(resourceName);
        }
    
        /**
         * Returns the package name of the class, without attempting to load the class.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

      void setUp() throws Exception {
        String prefix =
            (useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent.");
        String className = prefix + queueType + "BlockingQueue";
        Constructor<?> constructor = Class.forName(className).getConstructor(int.class);
        queue = (BlockingQueue<String>) constructor.newInstance(capacity);
    
        strings = new String[capacity];
        for (int i = 0; i < capacity; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimap.java

     *
     * <p>The following code:
     *
     * <pre>{@code
     * ListMultimap<String, String> multimap = ArrayListMultimap.create();
     * for (President pres : US_PRESIDENTS_IN_ORDER) {
     *   multimap.put(pres.firstName(), pres.lastName());
     * }
     * for (String firstName : multimap.keySet()) {
     *   List<String> lastNames = multimap.get(firstName);
     *   out.println(firstName + ": " + lastNames);
     * }
     * }</pre>
     *
     * ... produces output such as:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
Back to top