Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for Bell (0.14 sec)

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

            checkNotNull(cell.getValue(), "value");
            @SuppressWarnings("unchecked") // all supported methods are covariant
            Cell<R, C, V> immutableCell = (Cell<R, C, V>) cell;
            cells.add(immutableCell);
          } else {
            put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
          }
          return this;
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/StandardTable.java

       * row, and so on.
       *
       * <p>Each cell is an immutable snapshot of a row key / column key / value mapping, taken at the
       * time the cell is returned by a method call to the set or its iterator.
       */
      @Override
      public Set<Cell<R, C, V>> cellSet() {
        return super.cellSet();
      }
    
      @Override
      Iterator<Cell<R, C, V>> cellIterator() {
        return new CellIterator();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TablesTest.java

      public void testImmutableEntrySerialization() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
        SerializableTester.reserializeAndAssert(entry);
      }
    
      public void testImmutableEntryToString() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
        assertEquals("(foo,1)=a", entry.toString());
    
        Cell<@Nullable String, @Nullable Integer, @Nullable Character> nullEntry =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashingTest.java

          }
        }
      }
    
      public void testKnownUtf8Hashing() {
        for (Cell<HashFunction, String, String> cell : KNOWN_HASHES.cellSet()) {
          HashFunction func = cell.getRowKey();
          String input = cell.getColumnKey();
          String expected = cell.getValue();
          assertEquals(
              String.format(Locale.ROOT, "Known hash for hash(%s, UTF_8) failed", input),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ArrayTableTest.java

        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Cell<String, Integer, Character> cell = table.cellSet().iterator().next();
        assertEquals(Tables.immutableCell("foo", 1, 'a'), cell);
        assertEquals((Character) 'a', table.put("foo", 1, 'd'));
        assertEquals(Tables.immutableCell("foo", 1, 'd'), cell);
      }
    
      public void testRowMissing() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Cell<String, Integer, Character> cell = table.cellSet().iterator().next();
        assertEquals(Tables.immutableCell("foo", 1, 'a'), cell);
        assertEquals((Character) 'a', table.put("foo", 1, 'd'));
        assertEquals(Tables.immutableCell("foo", 1, 'd'), cell);
      }
    
      public void testRowMissing() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/package-info.java

     * closing streams for you.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library. For more information on Sources and Sinks as well as other features of this package, see
     * <a href="https://github.com/google/guava/wiki/IOExplained">I/O Explained</a> on the Guava wiki.
     *
     * @author Chris Nokleberg
     */
    @CheckReturnValue
    @ParametersAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/package-info.java

     *   <li>{@link Throwables}
     *   <li>{@link Verify}
     * </ul>
     *
     * <h3>The rest</h3>
     *
     * This package also contains some classes with niche use cases (e.g., {@link Utf8} and {@link
     * Defaults}), as well as a number of classes that have been superseded by additions to the JDK.
     */
    @CheckReturnValue
    @ParametersAreNonnullByDefault
    package com.google.common.base;
    
    import com.google.errorprone.annotations.CheckReturnValue;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 16:48:06 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        }
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testTimeToLive_small() {
        CacheBuilder.newBuilder().expireAfterWrite(1, NANOSECONDS).build(identityLoader());
        // well, it didn't blow up.
      }
    
      public void testTimeToLive_setTwice() {
        CacheBuilder<Object, Object> builder =
            CacheBuilder.newBuilder().expireAfterWrite(3600, SECONDS);
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

     * the methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change
     * the behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code putAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardPutAll} method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top