- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 61 for source (0.16 sec)
-
guava-tests/test/com/google/common/collect/ListsTest.java
public void testPartition_badSize() { List<Integer> source = Collections.singletonList(1); try { Lists.partition(source, 0); fail(); } catch (IllegalArgumentException expected) { } } public void testPartition_empty() { List<Integer> source = Collections.emptyList(); List<List<Integer>> partitions = Lists.partition(source, 1); assertTrue(partitions.isEmpty());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
Iterable<Integer> source = Collections.singleton(1); try { Iterables.partition(source, 0); fail(); } catch (IllegalArgumentException expected) { } } public void testPartition_empty() { Iterable<Integer> source = Collections.emptySet(); Iterable<List<Integer>> partitions = Iterables.partition(source, 1); assertTrue(Iterables.isEmpty(partitions));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 47.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<Integer> source = singletonIterator(1); try { Iterators.partition(source, 0); fail(); } catch (IllegalArgumentException expected) { } } public void testPartition_empty() { Iterator<Integer> source = Iterators.emptyIterator(); Iterator<List<Integer>> partitions = Iterators.partition(source, 1); assertFalse(partitions.hasNext()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 56.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* the first are ignored. * * <p>The array {@code others} must not be longer than {@code Integer.MAX_VALUE - 6}. * * @since 3.0 (source-compatible since 2.0) */ @SafeVarargs // For Eclipse. For internal javac we have disabled this pointless type of warning. public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E... others) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 35.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashMultiset.java
super(distinctElements); } @Override ObjectCountHashMap<E> newBackingMap(int distinctElements) { return new ObjectCountHashMap<>(distinctElements); } @GwtIncompatible // Not needed in emulated source. @J2ktIncompatible private static final long serialVersionUID = 0;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 2.6K bytes - Viewed (0) -
android/guava/pom.xml
XML - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 11 16:37:45 GMT 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
Iterable<Integer> source = Collections.singleton(1); try { Iterables.partition(source, 0); fail(); } catch (IllegalArgumentException expected) { } } public void testPartition_empty() { Iterable<Integer> source = Collections.emptySet(); Iterable<List<Integer>> partitions = Iterables.partition(source, 1); assertTrue(Iterables.isEmpty(partitions));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 46K bytes - Viewed (0) -
android/pom.xml
</plugins> <pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>1.8</source> <target>1.8</target> <encoding>UTF-8</encoding> <parameters>true</parameters> <compilerArgs> <!--
XML - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Mar 12 20:26:18 GMT 2024 - 19.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
* <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable} * interface, whose return type {@code AnnotatedType[]} is also new in Java 8. That means that we * cannot implement that interface in source code in a way that will compile on both Java 7 and * Java 8. If we include the {@code getAnnotatedBounds()} method then its return type means it
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 23.6K bytes - Viewed (0)