Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Constructor (0.43 sec)

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

        Constructor<ArrayList> constructor = ArrayList.class.getConstructor();
        assertEquals(
            TypeToken.of(ArrayList.class),
            TypeToken.of(ArrayList.class).constructor(constructor).getOwnerType());
        assertEquals(
            new TypeToken<ArrayList<String>>() {},
            new TypeToken<ArrayList<String>>() {}.constructor(constructor).getOwnerType());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code TreeSet} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>. One caveat to this is that the {@code TreeSet}
       * constructor uses a null {@code Comparator} to mean "natural ordering," whereas this factory
       * rejects null. Clean your code accordingly.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Constructor<ArrayList> constructor = ArrayList.class.getConstructor();
        assertEquals(
            TypeToken.of(ArrayList.class),
            TypeToken.of(ArrayList.class).constructor(constructor).getOwnerType());
        assertEquals(
            new TypeToken<ArrayList<String>>() {},
            new TypeToken<ArrayList<String>>() {}.constructor(constructor).getOwnerType());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <p>Instances of {@code exceptionClass} are created by choosing an arbitrary public constructor
       * that accepts zero or more arguments, all of type {@code String} or {@code Throwable}
       * (preferring constructors with at least one {@code String}, then preferring constructors with at
       * least one {@code Throwable}) and calling the constructor via reflection. If the exception did
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeToken.java

        };
      }
    
      /**
       * Returns the {@link Invokable} for {@code constructor}, which must be a member of {@code T}.
       *
       * @since 14.0
       */
      public final Invokable<T, T> constructor(Constructor<?> constructor) {
        checkArgument(
            constructor.getDeclaringClass() == getRawType(),
            "%s not declared by %s",
            constructor,
            getRawType());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/callResolver/Fe10IdeNormalAnalysisSourceModuleResolveCallTestGenerated.java

        }
    
        @Test
        @TestMetadata("constructor.kt")
        public void testConstructor() {
          runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/callableReferences/constructor.kt");
        }
    
        @Test
        @TestMetadata("genericParameterType.kt")
        public void testGenericParameterType() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 19:28:19 GMT 2024
    - 53.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CharMatcher.java

      public static CharMatcher forPredicate(final Predicate<? super Character> predicate) {
        return predicate instanceof CharMatcher ? (CharMatcher) predicate : new ForPredicate(predicate);
      }
    
      // Constructors
    
      /**
       * Constructor for use by subclasses. When subclassing, you may want to override {@code
       * toString()} to provide a useful description.
       */
      protected CharMatcher() {}
    
      // Abstract methods
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        static final Waiter TOMBSTONE = new Waiter(false /* ignored param */);
    
        @CheckForNull volatile Thread thread;
        @CheckForNull volatile Waiter next;
    
        /**
         * Constructor for the TOMBSTONE, avoids use of ATOMIC_HELPER in case this class is loaded
         * before the ATOMIC_HELPER. Apparently this is possible on some android platforms.
         */
        Waiter(boolean unused) {}
    
        Waiter() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

     * examples below illustrate the resulting URLs when this second constructor
     * argument is used.
     *
     * <p>
     * <table border="1" cellpadding="3" cellspacing="0" width="100%" summary="Usage examples">
     * <tr bgcolor="#ccccff">
     * <td colspan="3">
     * <b>Examples Of SMB URLs When Augmented With A Second Constructor Parameter</b></td>
     * <tr>
     * <td width="20%">
     * <b>First Parameter</b></td>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * constructors with arguments. MUST be a power of two no greater than {@code 1<<30} to ensure
       * that entries are indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
      static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
Back to top