Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for params (0.16 sec)

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

        Invokable<T, ?> invokable = new TypeToken<T>(getClass()) {}.method(setMethod);
        ImmutableList<Parameter> params = invokable.getParameters();
        assertEquals(2, params.size());
        assertEquals(TypeToken.of(int.class), params.get(0).getType());
        assertEquals(TypeToken.of(String.class), params.get(1).getType());
      }
    
      public void testMethod_equals() throws NoSuchMethodException {
    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/ImmutableSortedMap.java

      private static <K, V> ImmutableSortedMap<K, V> fromEntries(
          Comparator<? super K> comparator,
          boolean sameComparator,
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        // "adding" type params to an array of a raw type should be safe as
        // long as no one can ever cast that same array instance back to a
        // raw type.
        @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

      private static <K, V> ImmutableSortedMap<K, V> fromEntries(
          Comparator<? super K> comparator,
          boolean sameComparator,
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        // "adding" type params to an array of a raw type should be safe as
        // long as no one can ever cast that same array instance back to a
        // raw type.
        @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Preconditions.java

       * {@code size}. An element index may range from zero, inclusive, to {@code size}, exclusive.
       *
       * @param index a user-supplied index identifying an element of an array, list or string
       * @param size the size of that array, list or string
       * @param desc the text to use to describe this index in an error message
       * @return the value of {@code index}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
        }
      }
    
      /** Unblocks all threads and runs all listeners. */
      private static void complete(AbstractFuture<?> param, boolean callInterruptTask) {
        // Declare a "true" local variable so that the Checker Framework will infer nullness.
        AbstractFuture<?> future = param;
    
        Listener next = null;
        outer:
        while (true) {
          future.releaseWaiters();
          /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Invokable<T, ?> invokable = new TypeToken<T>(getClass()) {}.method(setMethod);
        ImmutableList<Parameter> params = invokable.getParameters();
        assertEquals(2, params.size());
        assertEquals(TypeToken.of(int.class), params.get(0).getType());
        assertEquals(TypeToken.of(String.class), params.get(1).getType());
      }
    
      public void testMethod_equals() throws NoSuchMethodException {
    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)
  7. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>The iteration order of the returned set follows the enum's iteration order, not the order in
       * which the elements are provided to the method.
       *
       * @param anElement one of the elements the set should contain
       * @param otherElements the rest of the elements the set should contain
       * @return an immutable set containing those elements, minus duplicates
       */
    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)
  8. android/guava/src/com/google/common/base/CharMatcher.java

       *
       * <p>The default implementation iterates over the sequence in forward order, beginning at {@code
       * start}, calling {@link #matches} for each character.
       *
       * @param sequence the character sequence to examine
       * @param start the first index to examine; must be nonnegative and no greater than {@code
       *     sequence.length()}
    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)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

     * href="http://tinyurl.com/ConcurrentHashMap">ConcurrentHashMap.java</a>.
     *
     * @param <K> the type of the keys in the map
     * @param <V> the type of the values in the map
     * @param <E> the type of the {@link InternalEntry} entry implementation used internally
     * @param <S> the type of the {@link Segment} entry implementation used internally
     * @author Bob Lee
     * @author Charles Fry
    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)
  10. guava/src/com/google/common/base/Preconditions.java

       * {@code size}. An element index may range from zero, inclusive, to {@code size}, exclusive.
       *
       * @param index a user-supplied index identifying an element of an array, list or string
       * @param size the size of that array, list or string
       * @param desc the text to use to describe this index in an error message
       * @return the value of {@code index}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top