Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 392 for Murray (0.14 sec)

  1. guava/src/com/google/common/collect/ImmutableList.java

        Object[] array = new Object[12 + others.length];
        array[0] = e1;
        array[1] = e2;
        array[2] = e3;
        array[3] = e4;
        array[4] = e5;
        array[5] = e6;
        array[6] = e7;
        array[7] = e8;
        array[8] = e9;
        array[9] = e10;
        array[10] = e11;
        array[11] = e12;
        System.arraycopy(others, 0, array, 12, others.length);
        return construct(array);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

        resetContainer();
      }
    
      /** @return an array of the proper size with {@code null} inserted into the middle element. */
      protected E[] createArrayWithNullElement() {
        E[] array = createSamplesArray();
        array[getNullLocation()] = null;
        return array;
      }
    
      protected void initCollectionWithNullElement() {
        E[] array = createArrayWithNullElement();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.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] = entry(null, oldEntry.getValue());
        return array;
      }
    
      protected V getValueForNullKey() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.toArray(bytes)).isEqualTo(array);
        assertThat(Shorts.toArray(shorts)).isEqualTo(array);
        assertThat(Shorts.toArray(ints)).isEqualTo(array);
        assertThat(Shorts.toArray(floats)).isEqualTo(array);
        assertThat(Shorts.toArray(longs)).isEqualTo(array);
        assertThat(Shorts.toArray(doubles)).isEqualTo(array);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.toArray(bytes)).isEqualTo(array);
        assertThat(Floats.toArray(shorts)).isEqualTo(array);
        assertThat(Floats.toArray(ints)).isEqualTo(array);
        assertThat(Floats.toArray(floats)).isEqualTo(array);
        assertThat(Floats.toArray(longs)).isEqualTo(array);
        assertThat(Floats.toArray(doubles)).isEqualTo(array);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java

      @SuppressWarnings("DoNotCall")
      public void testRemove() {
        final String[] array = {"a", "b", "c"};
    
        Iterator<String> iterator =
            new UnmodifiableIterator<String>() {
              int i;
    
              @Override
              public boolean hasNext() {
                return i < array.length;
              }
    
              @Override
              public String next() {
                if (!hasNext()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

    /**
     * A {@link UnicodeEscaper} that uses an array to quickly look up replacement characters for a given
     * code point. An additional safe range is provided that determines whether code points without
     * specific replacements are to be considered safe and left unescaped or should be escaped in a
     * general way.
     *
     * <p>A good example of usage of this class is for HTML escaping where the replacement array
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

        return new Enums();
      }
    
      @Override
      public Set<AnEnum> create(Object... elements) {
        AnEnum[] array = new AnEnum[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (AnEnum) e;
        }
        return create(array);
      }
    
      protected abstract Set<AnEnum> create(AnEnum[] elements);
    
      @Override
      public AnEnum[] createArray(int length) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

        return new Unhashables();
      }
    
      @Override
      public T create(Object... elements) {
        UnhashableObject[] array = createArray(elements.length);
        int i = 0;
        for (Object e : elements) {
          array[i++] = (UnhashableObject) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top