Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 367 for Murray (0.18 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

            "toArray(sameSizeE[]) should return the given array", array, collection.toArray(array));
        expectArrayContentsInOrder(getOrderedElements(), array);
      }
    
      public void testToArray_rightSizedArrayOfObject() {
        Object[] array = new Object[getNumElements()];
        assertSame(
            "toArray(sameSizeObject[]) should return the given array",
            array,
            collection.toArray(array));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

            "toArray(sameSizeE[]) should return the given array", array, collection.toArray(array));
        expectArrayContentsInOrder(getOrderedElements(), array);
      }
    
      public void testToArray_rightSizedArrayOfObject() {
        Object[] array = new Object[getNumElements()];
        assertSame(
            "toArray(sameSizeObject[]) should return the given array",
            array,
            collection.toArray(array));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Booleans.java

          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      /**
       * Returns an array containing the same values as {@code array}, but guaranteed to be of a
       * specified minimum length. If {@code array} already has a length of at least {@code minLength},
       * it is returned directly. Otherwise, a new array of size {@code minLength + padding} is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Shorts.java

      public static short min(short... array) {
        checkArgument(array.length > 0);
        short min = array[0];
        for (int i = 1; i < array.length; i++) {
          if (array[i] < min) {
            min = array[i];
          }
        }
        return min;
      }
    
      /**
       * Returns the greatest value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code short} values
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

        checkArgument(array.length > 0);
        long min = array[0];
        for (int i = 1; i < array.length; i++) {
          if (array[i] < min) {
            min = array[i];
          }
        }
        return min;
      }
    
      /**
       * Returns the greatest value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code long} values
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * @since 23.1
       */
      public static void sort(long[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
        Arrays.sort(array, fromIndex, toIndex);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      }
    
      /**
       * @return an array of the proper size with {@code null} as the key of the middle element.
       */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
        Entry<K, V> oldEntry = array[nullKeyLocation];
        array[nullKeyLocation] = Helpers.mapEntry(null, oldEntry.getValue());
        return array;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * array is that of the specified array. The returned array elements are in no particular order.
       * If the queue fits in the specified array, it is returned therein. Otherwise, a new array is
       * allocated with the runtime type of the specified array and the size of this queue.
       *
       * <p>If this queue fits in the specified array with room to spare (i.e., the array has more
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       *
       * @param length the length of the array
       */
      public AtomicDoubleArray(int length) {
        this.longs = new AtomicLongArray(length);
      }
    
      /**
       * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from,
       * the given array.
       *
       * @param array the array to copy elements from
       * @throws NullPointerException if array is null
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

        final String[] array = {"a", "b", "c"};
    
        return new UnmodifiableListIterator<String>() {
          int i;
    
          @Override
          public boolean hasNext() {
            return i < array.length;
          }
    
          @Override
          public String next() {
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            return array[i++];
          }
    
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top