- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 212 for origin (0.28 sec)
-
android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java
static <E> Set<E> reserializeAndAssertLenient(Set<E> original) { Set<E> copy = reserialize(original); assertEquals(original, copy); assertTrue(copy instanceof ImmutableSet); return copy; } @CanIgnoreReturnValue @GwtIncompatible // SerializableTester static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) { Multiset<E> copy = reserialize(original); assertEquals(original, copy);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Aug 04 15:33:27 GMT 2020 - 2.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
public void testStringAssertions() { String original = "hello world"; String copy = SerializableTester.reserializeAndAssert(original); assertEquals(original, copy); assertNotSame(original, copy); } public void testClassWhichDoesNotImplementEquals() { ClassWhichDoesNotImplementEquals orig = new ClassWhichDoesNotImplementEquals(); boolean errorNotThrown = false; try {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
Map<String, Integer> original = new TreeMap<>(); original.put("a", 1); original.put("b", 2); original.put("c", 3); HashMap<String, Integer> map = Maps.newHashMap(original); assertEquals(original, map); } public void testHashMapGeneralizesTypes() { Map<String, Integer> original = new TreeMap<>(); original.put("a", 1); original.put("b", 2); original.put("c", 3);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 67.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
Map<String, Integer> original = new TreeMap<>(); original.put("a", 1); original.put("b", 2); original.put("c", 3); HashMap<String, Integer> map = Maps.newHashMap(original); assertEquals(original, map); } public void testHashMapGeneralizesTypes() { Map<String, Integer> original = new TreeMap<>(); original.put("a", 1); original.put("b", 2); original.put("c", 3);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 64.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
} public void testCreateFromHashMultimap() { Multimap<String, Integer> original = HashMultimap.create(); ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original); assertEquals(3, multimap.expectedValuesPerKey); } public void testCreateFromArrayListMultimap() { ArrayListMultimap<String, Integer> original = ArrayListMultimap.create(15, 20);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
} private static final class ReverseConverter<A, B> extends Converter<B, A> implements Serializable { final Converter<A, B> original; ReverseConverter(Converter<A, B> original) { this.original = original; } /* * These gymnastics are a little confusing. Basically this class has neither legacy nor
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
public void testCreateCopy() { TreeBasedTable<String, Integer, Character> original = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); original.put("foo", 3, 'a'); original.put("foo", 12, 'b'); original.put("bar", 5, 'c'); original.put("cat", 8, 'd'); table = TreeBasedTable.create(original); assertThat(table.rowKeySet()).containsExactly("foo", "cat", "bar").inOrder();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TablesTransformValuesRowMapTest.java
public TablesTransformValuesRowMapTest() { super(false, true, true, true); } @Override Table<String, Integer, Character> makeTable() { Table<String, Integer, String> original = HashBasedTable.create(); return Tables.transformValues(original, TableCollectionTest.FIRST_CHARACTER); } @Override protected Map<String, Map<Integer, Character>> makePopulatedMap() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
<K, V> ReferenceEntry<K, V> copyEntry( Segment<K, V> segment, ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext, K key) { ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext, key); copyAccessEntry(original, newEntry); copyWriteEntry(original, newEntry); return newEntry; } }, WEAK { @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 150.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
assertEquals(multimap().keySet(), multimap().keys().elementSet()); } @MapFeature.Require(SUPPORTS_REMOVE) public void testKeysRemove() { int original = multimap().keys().remove(k0(), 1); assertEquals(Math.max(original - 1, 0), multimap().get(k0()).size()); } @CollectionSize.Require(ONE) @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testKeysEntrySetIteratorRemove() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4.3K bytes - Viewed (0)