Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for swapValue (0.08 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayMap.java

                    if (e.hashCode == hashCode && key.equals(e.key)) {
                        return swapValue(e, value);
                    }
                }
            } else {
                for (Entry<K, V> e = mapTable[0]; e != null; e = e.next) {
                    if (e.key == null) {
                        return swapValue(e, value);
                    }
                }
            }
            ensureCapacity();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        Table<String, Integer, C> swapValues = create("foo", 1, 'c', "bar", 1, 'b', "foo", 3, 'a');
    
        new EqualsTester()
            .addEqualityGroup(table, hashCopy, reordered)
            .addEqualityGroup(smaller)
            .addEqualityGroup(swapOuter)
            .addEqualityGroup(swapValues)
            .testEquals();
      }
    
      public void testHashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        Table<String, Integer, C> swapValues = create("foo", 1, 'c', "bar", 1, 'b', "foo", 3, 'a');
    
        new EqualsTester()
            .addEqualityGroup(table, hashCopy, reordered)
            .addEqualityGroup(smaller)
            .addEqualityGroup(swapOuter)
            .addEqualityGroup(swapValues)
            .testEquals();
      }
    
      public void testHashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top