- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 256 for getList (0.2 seconds)
-
android/guava/src/com/google/common/collect/ForwardingDeque.java
public Iterator<E> descendingIterator() { return delegate().descendingIterator(); } @Override @ParametricNullness public E getFirst() { return delegate().getFirst(); } @Override @ParametricNullness public E getLast() { return delegate().getLast(); } @CanIgnoreReturnValue // TODO(cpovirk): Consider removing this? @Override public boolean offerFirst(@ParametricNullness E e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
return delegate.pollLast(); } @Override public E getFirst() { assertTrue(Thread.holdsLock(mutex)); return delegate.getFirst(); } @Override public E getLast() { assertTrue(Thread.holdsLock(mutex)); return delegate.getLast(); } @Override public @Nullable E peekFirst() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 7.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
assertThat(Iterables.<@Nullable String>getFirst(iterable, null)).isNull(); } public void testGetFirst_withDefault_multiple() { Iterable<String> iterable = asList("foo", "bar"); assertThat(Iterables.getFirst(iterable, "qux")).isEqualTo("foo"); } public void testGetLast_list() { List<String> list = newArrayList("a", "b", "c"); assertThat(Iterables.getLast(list)).isEqualTo("c"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
* * <p><b>Java 21+ users:</b> if {code iterable} is a {@code SequencedCollection} (e.g., any list), * consider using {@code collection.getFirst()} instead. Note that if the collection is empty, * {@code getFirst()} throws a {@code NoSuchElementException}, while this method returns the * default value. * * @param defaultValue the default value to return if the iterable is emptyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.28.md
- `kube-apiserver`: Improved memory use when performing `GetList` on the cache. ([#116327](https://github.com/kubernetes/kubernetes/pull/116327), [@sxllwx](https://github.com/sxllwx)) - `kube-controller-manager` and `cloud-controller-manager` have changed the
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Fri Sep 05 03:47:18 GMT 2025 - 456.9K bytes - Click Count (1) -
guava/src/com/google/common/collect/Iterables.java
* * <p><b>Java 21+ users:</b> if {code iterable} is a {@code SequencedCollection} (e.g., any list), * consider using {@code collection.getFirst()} instead. Note that if the collection is empty, * {@code getFirst()} throws a {@code NoSuchElementException}, while this method returns the * default value. * * @param defaultValue the default value to return if the iterable is emptyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 43.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
if (violation.getHumanExplanation().startsWith(SINCE_ERROR_MESSAGE)) { // We want to keep @since nagging for new methods, unless it's `getX` or `getIsX` method that replaces `isX` boolean method. return isCurrentGetterThatReplacesBooleanIsGetter(jApiMethod, currentAccessors) || isKotlinBooleanSourceCompatibilityMethod(jApiMethod, currentAccessors); }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 9.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
assertThat(HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost()) .isEqualTo("::1"); // Non-bracketed non-IPv6 works fine. assertThat(HostAndPort.fromString("x").requireBracketsForIPv6().getHost()).isEqualTo("x"); assertThat(HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()).isEqualTo("x");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 9.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
assertThat(HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost()) .isEqualTo("::1"); // Non-bracketed non-IPv6 works fine. assertThat(HostAndPort.fromString("x").requireBracketsForIPv6().getHost()).isEqualTo("x"); assertThat(HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()).isEqualTo("x");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
// Assert - Verify URL components assertEquals("smb", url1.getProtocol()); assertEquals("host", url1.getHost()); assertEquals(445, url1.getPort()); assertEquals("/share", url1.getPath()); assertEquals("smb", url2.getProtocol()); assertEquals("host", url2.getHost()); assertEquals(1234, url2.getPort()); assertEquals("/share/file.txt", url2.getPath());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0)