Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for members (0.14 sec)

  1. android/guava/src/com/google/common/reflect/Invokable.java

     */
    @ElementTypesAreNonnullByDefault
    public abstract class Invokable<T, R> implements AnnotatedElement, Member {
      private final AccessibleObject accessibleObject;
      private final Member member;
    
      <M extends AccessibleObject & Member> Invokable(M member) {
        checkNotNull(member);
        this.accessibleObject = member;
        this.member = member;
      }
    
      /** Returns {@link Invokable} of {@code method}. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/FloatsTest.java

            Long.MAX_VALUE
          };
    
      private static final float[] VALUES = Floats.concat(NUMBERS, new float[] {NaN});
    
      public void testHashCode() {
        for (float value : VALUES) {
          assertThat(Floats.hashCode(value)).isEqualTo(((Float) value).hashCode());
        }
      }
    
      public void testIsFinite() {
        for (float value : NUMBERS) {
          assertThat(Floats.isFinite(value))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(42, queue.maximumSize);
        checkNatural(queue);
      }
    
      private static final ImmutableList<Integer> NUMBERS = ImmutableList.of(4, 8, 15, 16, 23, 42);
    
      public void testCreation_withContents() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create(NUMBERS);
        assertEquals(6, queue.size());
        assertEquals(11, queue.capacity());
        checkUnbounded(queue);
        checkNatural(queue);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ArrayListMultimap.java

          ArrayListMultimap<K, V> create() {
        return new ArrayListMultimap<>();
      }
    
      /**
       * Constructs an empty {@code ArrayListMultimap} with enough capacity to hold the specified
       * numbers of keys and values without resizing.
       *
       * <p>This method will soon be deprecated in favor of {@code
       * MultimapBuilder.hashKeys(expectedKeys).arrayListValues(expectedValuesPerKey).build()}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Predicates.java

        return new SubtypeOfPredicate(clazz);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the object reference being tested is a
       * member of the given collection. It does not defensively copy the collection passed in, so
       * future changes to it will alter the behavior of the predicate.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ArrayTableTest.java

    @ElementTypesAreNonnullByDefault
    public class ArrayTableTest extends AbstractTableTest<@Nullable Character> {
    
      @Override
      protected ArrayTable<String, Integer, Character> create(@Nullable Object... data) {
        // TODO: Specify different numbers of rows and columns, to detect problems
        // that arise when the wrong size is used.
        ArrayTable<String, Integer, Character> table =
            ArrayTable.create(asList("foo", "bar", "cat"), asList(1, 2, 3));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

    @ElementTypesAreNonnullByDefault
    public class ArrayTableTest extends AbstractTableTest<@Nullable Character> {
    
      @Override
      protected ArrayTable<String, Integer, Character> create(@Nullable Object... data) {
        // TODO: Specify different numbers of rows and columns, to detect problems
        // that arise when the wrong size is used.
        ArrayTable<String, Integer, Character> table =
            ArrayTable.create(asList("foo", "bar", "cat"), asList(1, 2, 3));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Range.java

     *       {@code r.contains(c1) && r.contains(c3)} implies {@code r.contains(c2)}). This means that a
     *       {@code Range<Integer>} can never be used to represent, say, "all <i>prime</i> numbers from
     *       1 to 100."
     *   <li>When evaluated as a {@link Predicate}, a range yields the same result as invoking {@link
     *       #contains}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
Back to top