- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for nolisp (0.15 sec)
-
android/guava-tests/test/com/google/common/collect/ListsTest.java
/* toList modifications reflected in fromList */ toList.remove(0); assertEquals(asList(5, 9, 3), fromList); toList.add(7); assertEquals(asList(7, 5, 9, 3), fromList); toList.add(5); assertEquals(asList(5, 7, 5, 9, 3), fromList); toList.remove(Integer.valueOf(5)); assertEquals(asList(5, 7, 9, 3), fromList); toList.set(1, 8); assertEquals(asList(5, 7, 8, 3), fromList); toList.clear();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 35.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testToList() { assertEquals(Lists.newArrayList(1, 2, 3, 4), fluent(1, 2, 3, 4).toList()); } public void testToList_empty() { assertTrue(fluent().toList().isEmpty()); } public void testToSortedList_withComparator() { assertEquals( Lists.newArrayList(4, 3, 2, 1),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 06 17:32:08 GMT 2023 - 30.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link * ImmutableList#copyOf(Iterable)} instead. (Or, change {@code elements} to be a {@link * FluentIterable} and call {@code elements.toList()}.) * * <p><b>Note:</b> if {@code elements} is a {@link Collection}, you don't need this method. Use * the {@code ArrayList} {@linkplain ArrayList#ArrayList(Collection) constructor} directly, taking
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 16:48:36 GMT 2024 - 41.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
String message = "Waited " + timeout + " " + unit.toString().toLowerCase(Locale.ROOT); // Only report scheduling delay if larger than our spin threshold - otherwise it's just noise if (remainingNanos + SPIN_THRESHOLD_NANOS < 0) { // We over-waited for our timeout. message += " (plus "; long overWaitNanos = -remainingNanos;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
TestCharSource lines = new TestCharSource(LINES); assertEquals("foo", lines.readFirstLine()); assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()); } public void testReadLines_toList() throws IOException { TestCharSource lines = new TestCharSource(LINES); assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} static class WithStreamParameter { private final List<?> list; // This should be ignored. public WithStreamParameter(Stream<?> s, String str) { this.list = s.collect(Collectors.toList()); checkNotNull(str); } } static class UsesReferentialEquality { private final ReferentialEquality s; public UsesReferentialEquality(ReferentialEquality s) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 36.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
/* toList modifications reflected in fromList */ toList.remove(0); assertEquals(asList(5, 9, 3), fromList); toList.add(7); assertEquals(asList(7, 5, 9, 3), fromList); toList.add(5); assertEquals(asList(5, 7, 5, 9, 3), fromList); toList.remove(Integer.valueOf(5)); assertEquals(asList(5, 7, 9, 3), fromList); toList.set(1, 8); assertEquals(asList(5, 7, 8, 3), fromList); toList.clear();
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) -
android/guava/src/com/google/common/collect/GeneralRange.java
} /** * Returns the intersection of the two ranges, or an empty range if their intersection is empty. */ @SuppressWarnings("nullness") // TODO(cpovirk): Add casts as needed. Will be noisy and annoying... GeneralRange<T> intersect(GeneralRange<T> other) { checkNotNull(other); checkArgument(comparator.equals(other.comparator)); boolean hasLowBound = this.hasLowerBound;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* .limit(10) * .toList(); * }</pre> * * The approximate stream equivalent is: * * <pre>{@code * List<String> results = * database.getClientList() * .stream() * .filter(Client::isActiveInLastMonth) * .map(Object::toString) * .limit(10) * .collect(Collectors.toList()); * }</pre> * * @author Marcin Mikosik
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/GeneralRange.java
} /** * Returns the intersection of the two ranges, or an empty range if their intersection is empty. */ @SuppressWarnings("nullness") // TODO(cpovirk): Add casts as needed. Will be noisy and annoying... GeneralRange<T> intersect(GeneralRange<T> other) { checkNotNull(other); checkArgument(comparator.equals(other.comparator)); boolean hasLowBound = this.hasLowerBound;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.8K bytes - Viewed (0)