Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for tablesText (0.34 sec)

  1. guava-tests/test/com/google/common/collect/TablesTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Tables}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TablesTest extends TestCase {
      @GwtIncompatible // SerializableTester
      public void testImmutableEntrySerialization() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TablesTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Tables}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TablesTest extends TestCase {
    
      @GwtIncompatible // SerializableTester
      public void testImmutableEntrySerialization() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashing.java

       * then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we
       * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this.
       */
      static void tableSet(Object table, int index, int entry) {
        if (table instanceof byte[]) {
          ((byte[]) table)[index] = (byte) entry; // unsigned write
        } else if (table instanceof short[]) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashing.java

       * then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we
       * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this.
       */
      static void tableSet(Object table, int index, int entry) {
        if (table instanceof byte[]) {
          ((byte[]) table)[index] = (byte) entry; // unsigned write
        } else if (table instanceof short[]) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
Back to top