Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,806 for instances (0.08 sec)

  1. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       * @throws NullPointerException if any key or value in {@code map} is null
       * @throws ClassCastException if any value is not an instance of the type specified by its key
       */
      public static <B, S extends B> ImmutableClassToInstanceMap<B> copyOf(
          Map<? extends Class<? extends S>, ? extends S> map) {
        if (map instanceof ImmutableClassToInstanceMap) {
          @SuppressWarnings("rawtypes") // JDT-based J2KT Java frontend does not permit the direct cast
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            } catch (final Exception e) {
                throw new IllegalArgumentException("Cannot create instance of: " + clazz, e);
            } catch (final LinkageError e) {
                throw new IllegalArgumentException("Cannot create instance of: " + clazz, e);
            }
        }
    
        /**
         * Creates an instance of the given implementation using the given string, assumes a public string constructor.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/bsentity/dbmeta/RoleDbm.java

        //                                                                           =========
        private static final RoleDbm _instance = new RoleDbm();
    
        private RoleDbm() {
        }
    
        public static RoleDbm getInstance() {
            return _instance;
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/EqualsTester.java

              item.hashCode(),
              item.hashCode());
          if (!(item instanceof String)) {
            assertTrue(
                item + " must not be Object#equals to its Object#toString representation",
                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeParameter.java

        Type type = capture();
        checkArgument(type instanceof TypeVariable, "%s should be a type variable.", type);
        this.typeVariable = (TypeVariable<?>) type;
      }
    
      @Override
      public final int hashCode() {
        return typeVariable.hashCode();
      }
    
      @Override
      public final boolean equals(@CheckForNull Object o) {
        if (o instanceof TypeParameter) {
          TypeParameter<?> that = (TypeParameter<?>) o;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ElementOrder.java

        this.comparator = comparator;
        checkState((type == Type.SORTED) == (comparator != null));
      }
    
      /** Returns an instance which specifies that no ordering is guaranteed. */
      public static <S> ElementOrder<S> unordered() {
        return new ElementOrder<>(Type.UNORDERED, null);
      }
    
      /**
       * Returns an instance which specifies that ordering is guaranteed to be always be the same across
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ElementOrder.java

        this.comparator = comparator;
        checkState((type == Type.SORTED) == (comparator != null));
      }
    
      /** Returns an instance which specifies that no ordering is guaranteed. */
      public static <S> ElementOrder<S> unordered() {
        return new ElementOrder<>(Type.UNORDERED, null);
      }
    
      /**
       * Returns an instance which specifies that ordering is guaranteed to be always be the same across
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/ElevateWordToLabelDbm.java

        //                                                                           =========
        private static final ElevateWordToLabelDbm _instance = new ElevateWordToLabelDbm();
    
        private ElevateWordToLabelDbm() {
        }
    
        public static ElevateWordToLabelDbm getInstance() {
            return _instance;
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

     *     classes can be chained onto them without casting.
     * @param <G> The type of the generator to be passed to testers in the generated test suite. An
     *     instance of G should somehow provide an instance of the class under test, plus any other
     *     information required to parameterize the test.
     * @author George van den Driessche
     */
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

        if match is found, the toolchain instance is made available to other Maven plugins.</p>
        <p>With {@code jdk} toolchain, for example, instead of being stuck with the JDK used to run Maven, all plugins can use
        the same other JDK instance without hardcoding absolute paths into the {@code pom.xml}
        and without configuring every plugin that require path to JDK tools.</p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top