Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for Position (0.2 sec)

  1. android/guava/src/com/google/common/collect/ArrayTable.java

       * returned by {@code get(rowKeyList().get(rowIndex), columnKeyList().get(columnIndex))}, but this
       * method runs more quickly.
       *
       * @param rowIndex position of the row key in {@link #rowKeyList()}
       * @param columnIndex position of the row key in {@link #columnKeyList()}
       * @return the value with the specified row and column
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectArrays.java

       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
       *     the first position, and the elements of {@code array} occupying the remaining elements.
       */
      public static <T extends @Nullable Object> T[] concat(@ParametricNullness T element, T[] array) {
        T[] result = newArray(array, array.length + 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

      private static final LittleEndianBytes byteArray;
    
      /**
       * Load 8 bytes into long in a little endian manner, from the substring between position and
       * position + 8. The array must have at least 8 bytes from offset (inclusive).
       *
       * @param input the input bytes
       * @param offset the offset into the array at which to start
       * @return a long of a concatenated 8 bytes
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        doTestSet(e3());
      }
    
      private void doTestSet(E newValue) {
        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          testConstructorParameter(ctor, nullIndex);
        }
      }
    
      /**
       * Verifies that {@code method} produces a {@link NullPointerException} or {@link
       * UnsupportedOperationException} when the parameter in position {@code paramIndex} is null. If
       * this parameter is marked nullable, this method does nothing.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/Helpers.java

          @Override
          public void remove() {
            throw new UnsupportedOperationException();
          }
        };
      }
    
      static <T extends @Nullable Object> T get(Iterator<T> iterator, int position) {
        for (int i = 0; i < position; i++) {
          iterator.next();
        }
        return iterator.next();
      }
    
      static void fail(Throwable cause, Object message) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        doTestSet(e3());
      }
    
      private void doTestSet(E newValue) {
        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

            assertEquals("Default value for parameter #" + i, expectedValues[i], arguments.get(i));
          }
        }
    
        final Object getDefaultParameterValue(int position) {
          return arguments.get(position);
        }
    
        final void calledWith(Object... args) {
          for (int i = 0; i < args.length; i++) {
            if (args[i] != null) {
              arguments.put(i, args[i]);
            }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/FluentIterable.java

       * Returns the element at the specified position in this fluent iterable.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.skip(position).findFirst().get()} (but note
       * that this throws different exception types, and throws an exception if {@code null} would be
       * returned).
       *
       * @param position position of the element to return
       * @return the element at the specified position in this fluent iterable
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ArrayTable.java

       * returned by {@code get(rowKeyList().get(rowIndex), columnKeyList().get(columnIndex))}, but this
       * method runs more quickly.
       *
       * @param rowIndex position of the row key in {@link #rowKeyList()}
       * @param columnIndex position of the row key in {@link #columnKeyList()}
       * @return the value with the specified row and column
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.9K bytes
    - Viewed (0)
Back to top