- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for UnhashableObject (0.26 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
extends TestUnhashableCollectionGenerator<List<UnhashableObject>> implements TestListGenerator<UnhashableObject> {} public static class UnhashableElementsImmutableListGenerator extends TestUnhashableListGenerator { @Override public List<UnhashableObject> create(UnhashableObject[] elements) { return ImmutableList.copyOf(elements); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java
} return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of {@link * #create(Object...)}. */ protected abstract T create(UnhashableObject[] elements); @Override public UnhashableObject[] createArray(int length) { return new UnhashableObject[length]; } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java
} return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of {@link * #create(Object...)}. */ protected abstract T create(UnhashableObject[] elements); @Override public UnhashableObject[] createArray(int length) { return new UnhashableObject[length]; } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
extends TestUnhashableCollectionGenerator<Collection<UnhashableObject>> { @Override public Collection<UnhashableObject> create(UnhashableObject[] elements) { ImmutableMap.Builder<Integer, UnhashableObject> builder = ImmutableMap.builder(); int key = 1; for (UnhashableObject value : elements) { builder.put(key++, value); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 8.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
extends TestUnhashableCollectionGenerator<List<UnhashableObject>> implements TestListGenerator<UnhashableObject> {} public static class UnhashableElementsImmutableListGenerator extends TestUnhashableListGenerator { @Override public List<UnhashableObject> create(UnhashableObject[] elements) { return ImmutableList.copyOf(elements); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
public E e4() { return e4; } public static class Unhashables extends SampleElements<UnhashableObject> { public Unhashables() { super( new UnhashableObject(1), new UnhashableObject(2), new UnhashableObject(3), new UnhashableObject(4), new UnhashableObject(5)); } } public static class Colliders extends SampleElements<Object> {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
public E e4() { return e4; } public static class Unhashables extends SampleElements<UnhashableObject> { public Unhashables() { super( new UnhashableObject(1), new UnhashableObject(2), new UnhashableObject(3), new UnhashableObject(4), new UnhashableObject(5)); } } public static class Colliders extends SampleElements<Object> {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
SampleElements<UnhashableObject> unhashables = new Unhashables(); Multimap<Integer, UnhashableObject> multimap = ImmutableMultimap.of(0, unhashables.e0()); assertEquals(1, multimap.get(0).size()); assertTrue(multimap.get(0).contains(unhashables.e0())); } public void testUnhashableMixedValues() { SampleElements<UnhashableObject> unhashables = new Unhashables();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 5.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
extends TestUnhashableCollectionGenerator<Collection<UnhashableObject>> { @Override public Collection<UnhashableObject> create(UnhashableObject[] elements) { ImmutableMap.Builder<Integer, UnhashableObject> builder = ImmutableMap.builder(); int key = 1; for (UnhashableObject value : elements) { builder.put(key++, value); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 8.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
return insertionOrder; } } public static class ImmutableSortedSetUnhashableGenerator extends TestUnhashableSetGenerator { @Override public Set<UnhashableObject> create(UnhashableObject[] elements) { return ImmutableSortedSet.copyOf(elements); } } public static class ImmutableSetAsListGenerator extends TestStringListGenerator { @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 15.5K bytes - Viewed (0)