- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 112 for getTax (0.22 sec)
-
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) -
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) -
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) -
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 Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.9K bytes - Viewed (0) -
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) -
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) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
final MyClass2 dest = new MyClass2(); dest.setAaa("aaa"); dest.setBbb("bbb"); dest.setDdd("ddd"); BeanUtil.copyBeanToBean(src, dest); assertThat(dest.getAaa(), is("111")); assertThat(dest.getBbb(), is(nullValue())); assertThat(dest.getDdd(), is("ddd")); } /** * @throws Exception */ @Test
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 34.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Striped.java
* * @param index the index of the stripe to return; must be in {@code [0...size())} * @return the stripe at the specified index */ public abstract L getAt(int index); /** * Returns the index to which the given key is mapped, so that getAt(indexFor(key)) == get(key). */ abstract int indexFor(Object key); /** Returns the total number of stripes in this instance. */ public abstract int size();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 10 20:55:18 GMT 2023 - 20.3K bytes - Viewed (1) -
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 Apr 24 11:36:11 GMT 2024 - Last Modified: Tue Jul 11 06:57:51 GMT 2023 - 12.7K bytes - Viewed (0) -
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 Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.8K bytes - Viewed (0)