Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Murray (0.56 sec)

  1. guava/src/com/google/common/reflect/TypeToken.java

        }
        // array is covariant. component type is subtype, so is the array type.
        // requireNonNull is safe because we call getArraySubtype only when isArray().
        TypeToken<?> componentSubtype =
            requireNonNull(getComponentType()).getSubtype(subclassComponentType);
        @SuppressWarnings("unchecked") // component type is subtype, so is array type.
        TypeToken<? extends T> result =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

        }
        // array is covariant. component type is subtype, so is the array type.
        // requireNonNull is safe because we call getArraySubtype only when isArray().
        TypeToken<?> componentSubtype =
            requireNonNull(getComponentType()).getSubtype(subclassComponentType);
        @SuppressWarnings("unchecked") // component type is subtype, so is array type.
        TypeToken<? extends T> result =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Preconditions.java

       */
    
      /**
       * Ensures that {@code index} specifies a valid <i>element</i> in an array, list or string of size
       * {@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
       * @return the value of {@code index}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMap.java

          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")
        Entry<K, V>[] entryArray = (Entry[]) Iterables.toArray(entries, EMPTY_ENTRY_ARRAY);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Sets.java

        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return standardToArray(array);
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      private static byte[] prepended(byte b, byte[] array) {
        byte[] out = new byte[array.length + 1];
        out[0] = b;
        System.arraycopy(array, 0, out, 1, array.length);
        return out;
      }
    
      @GwtIncompatible // java.nio.ByteBuffer
      private static byte[] toByteArray(int h) {
        return ByteBuffer.allocate(4).putInt(h).array();
      }
    
      public void testNewEnumSet_empty() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

        }
    
        @Override
        @CheckForNull
        protected String pendingToString() {
          InCompletionOrderState<T> localState = state;
          if (localState != null) {
            // Don't print the actual array! We don't want inCompletionOrder(list).toString() to have
            // quadratic output.
            return "inputCount=["
                + localState.inputFutures.length
                + "], remaining=["
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return standardToArray(array);
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

        private final T[] array;
    
        ArrayItr(T[] array, int position) {
          super(array.length, position);
          this.array = array;
        }
    
        @Override
        @ParametricNullness
        protected T get(int index) {
          return array[index];
        }
      }
    
      /**
       * Returns an iterator containing only {@code value}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Iterators.java

        private final T[] array;
    
        ArrayItr(T[] array, int position) {
          super(array.length, position);
          this.array = array;
        }
    
        @Override
        @ParametricNullness
        protected T get(int index) {
          return array[index];
        }
      }
    
      /**
       * Returns an iterator containing only {@code value}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
Back to top