Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 112 for getTax (0.73 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

    public class BiMapInverseTester<K, V> extends AbstractBiMapTester<K, V> {
    
      public void testInverseSame() {
        assertSame(getMap(), getMap().inverse().inverse());
      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

    public class BiMapInverseTester<K, V> extends AbstractBiMapTester<K, V> {
    
      public void testInverseSame() {
        assertSame(getMap(), getMap().inverse().inverse());
      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = getMap().size();
        assertEquals("remove(present) should return the associated value", v0(), getMap().remove(k0()));
        assertEquals(
            "remove(present) should decrease a map's size by one.", initialSize - 1, getMap().size());
        expectMissing(e0());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/MacHashFunction.java

      private final Key key;
    
      private final String toString;
      private final int bits;
      private final boolean supportsClone;
    
      MacHashFunction(String algorithmName, Key key, String toString) {
        this.prototype = getMac(algorithmName, key);
        this.key = checkNotNull(key);
        this.toString = checkNotNull(toString);
        this.bits = prototype.getMacLength() * Byte.SIZE;
        this.supportsClone = supportsClone(prototype);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 15 22:31:55 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

    public class MapClearTester<K, V> extends AbstractMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        getMap().clear();
        assertTrue("After clear(), a map should be empty.", getMap().isEmpty());
        assertEquals(0, getMap().size());
        assertFalse(getMap().entrySet().iterator().hasNext());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java

        try {
          assertTrue(getMap().replace(k0(), v0(), v3()));
          expectReplacement(entry(k0(), v3()));
        } catch (ClassCastException tolerated) { // for ClassToInstanceMap
          expectUnchanged();
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_supportedPresentUnchanged() {
        assertTrue(getMap().replace(k0(), v0(), v0()));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 5.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

    public class BiMapEntrySetTester<K, V> extends AbstractBiMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

        Set<Entry<K, V>> entrySet = getMap().entrySet();
        Iterator<Entry<K, V>> entryItr = entrySet.iterator();
        assertEquals(e0(), entryItr.next());
        entryItr.remove();
        assertTrue(getMap().isEmpty());
        assertFalse(entrySet.contains(e0()));
      }
    
      public void testContainsEntryWithIncomparableKey() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java

    public class ConcurrentMapReplaceTester<K, V> extends AbstractMapTester<K, V> {
      @Override
      protected ConcurrentMap<K, V> getMap() {
        return (ConcurrentMap<K, V>) super.getMap();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresent() {
        assertEquals(v0(), getMap().replace(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    added("Method", "SourceKt.foo()"),
                    added("Method", "SourceKt.fooExt(java.lang.String)"),
                    added("Method", "SourceKt.fooExt(int)"),
                    added("Method", "SourceKt.getBar()"),
                    added("Method", "SourceKt.getBarExt(java.lang.String)"),
                    added("Method", "SourceKt.getBazar()"),
                    added("Method", "SourceKt.getBazarExt(int)"),
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top