Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 103 for Bell (0.2 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

       *     {@code toIndex > fromIndex}
       * @since 32.0.0
       */
      public static void rotate(int[] array, int distance, int fromIndex, int toIndex) {
        // There are several well-known algorithms for rotating part of an array (or, equivalently,
        // exchanging two blocks of memory). This classic text by Gries and Mills mentions several:
        // https://ecommons.cornell.edu/bitstream/handle/1813/6292/81-452.pdf.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<Integer> result = Iterables.concat(input);
        assertEquals(asList(1, 4), newArrayList(result));
    
        // Now change the inputs and see result dynamically change as well
    
        list1.add(2);
        List<Integer> list3 = newArrayList(3);
        input.add(1, list3);
    
        assertEquals(asList(1, 2, 3, 4), newArrayList(result));
        assertEquals("[1, 2, 3, 4]", result.toString());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

     * if and only if the provided instances that back them are. For example, if {@code ordering} and
     * {@code function} can themselves be serialized, then {@code ordering.onResultOf(function)} can as
     * well.
     *
     * <h3>Java 8+ users</h3>
     *
     * <p>If you are using Java 8+, this class is now obsolete. Most of its functionality is now
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Tables.java

        }
    
        Function<Cell<R, C, V1>, Cell<R, C, V2>> cellFunction() {
          return new Function<Cell<R, C, V1>, Cell<R, C, V2>>() {
            @Override
            public Cell<R, C, V2> apply(Cell<R, C, V1> cell) {
              return immutableCell(
                  cell.getRowKey(), cell.getColumnKey(), function.apply(cell.getValue()));
            }
          };
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/DenseImmutableTable.java

      private final @Nullable V[][] values;
    
      // For each cell in iteration order, the index of that cell's row key in the row key list.
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] cellRowIndices;
    
      // For each cell in iteration order, the index of that cell's column key in the column key list.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Table.java

       *
       * @since 7.0
       */
      interface Cell<
          R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object> {
        /** Returns the row key of this cell. */
        @ParametricNullness
        R getRowKey();
    
        /** Returns the column key of this cell. */
        @ParametricNullness
        C getColumnKey();
    
        /** Returns the value of this cell. */
        @ParametricNullness
        V getValue();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

      // This gives minimal coverage to the forwarding functions
      public void testToImmutableTableSanityTest() {
        Collector<Cell<String, String, Integer>, ?, ImmutableTable<String, String, Integer>> collector =
            TableCollectors.toImmutableTable(Cell::getRowKey, Cell::getColumnKey, Cell::getValue);
        CollectorTester.of(collector)
            .expectCollects(ImmutableTable.of())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ArrayTable.java

       */
      @Override
      public Set<Cell<R, C, @Nullable V>> cellSet() {
        return super.cellSet();
      }
    
      @Override
      Iterator<Cell<R, C, @Nullable V>> cellIterator() {
        return new AbstractIndexedListIterator<Cell<R, C, @Nullable V>>(size()) {
          @Override
          protected Cell<R, C, @Nullable V> get(final int index) {
            return getCell(index);
          }
        };
    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)
  9. guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableCollection} as a type (just as
     * with {@link Collection} itself). Prefer subtypes such as {@link ImmutableSet} or {@link
     * ImmutableList}, which have well-defined {@link #equals} semantics, thus avoiding a common source
     * of bugs and confusion.
     *
     * <h3>About <i>all</i> {@code Immutable-} collections</h3>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableCollection} as a type (just as
     * with {@link Collection} itself). Prefer subtypes such as {@link ImmutableSet} or {@link
     * ImmutableList}, which have well-defined {@link #equals} semantics, thus avoiding a common source
     * of bugs and confusion.
     *
     * <h3>About <i>all</i> {@code Immutable-} collections</h3>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
Back to top