Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 224 for getlist (0.08 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

                    pop();
                    inPara = true;
                }
            }
            stack.getFirst().appendChild(node);
            if (inPara) {
                Element para = document.createElement("para");
                push(para);
            }
        }
    
        public void push(Element element) {
            stack.getFirst().appendChild(element);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Click Count (0)
  2. 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)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testGetLast_sortedSet() {
        SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a");
        assertThat(Iterables.getLast(sortedSet)).isEqualTo("c");
      }
    
      public void testGetLast_withDefault_singleton() {
        Iterable<String> iterable = singletonList("foo");
        assertThat(Iterables.getLast(iterable, "bar")).isEqualTo("foo");
      }
    
    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)
  4. android/guava/src/com/google/common/collect/Iterables.java

       * consider using {@code collection.getLast()} instead.
       *
       * @return the last element of {@code iterable}
       * @throws NoSuchElementException if the iterable is empty
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getLast(Iterable<T> iterable) {
        // TODO(kevinb): Support a concurrently modified collection?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Iterables.java

       * consider using {@code collection.getLast()} instead.
       *
       * @return the last element of {@code iterable}
       * @throws NoSuchElementException if the iterable is empty
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getLast(Iterable<T> iterable) {
        // TODO(kevinb): Support a concurrently modified collection?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                }
                if (link.startsWith("/")) {
                    redirect = ftpInfo.toUrl(file.getLink());
                } else if (link.startsWith("../")) {
                    redirect = ftpInfo.toChildUrl(file.getLink());
                } else {
                    redirect = ftpInfo.toChildUrl("../" + file.getLink());
                }
                if (!uri.equals(redirect)) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 40K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testGetAsList() {
            // Test with null
            List<String> nullList = SuggestUtil.getAsList(null);
            assertNotNull(nullList);
            assertEquals(0, nullList.size());
    
            // Test with String
            List<String> stringList = SuggestUtil.getAsList("test");
            assertNotNull(stringList);
            assertEquals(1, stringList.size());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  8. 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)
  9. README.md

    Set<String> caseInsensitiveSet = new CaseInsensitiveSet<>();
    
    // Java 21 Sequenced Collections support
    SequencedCollection<String> sequenced = CollectionsUtil.newLinkedHashSet();
    String first = CollectionsUtil.getFirst(sequenced);
    String last = CollectionsUtil.getLast(sequenced);
    SequencedCollection<String> reversed = CollectionsUtil.reversed(sequenced);
    
    // Specialized collections
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/LinkedListMultimap.java

           * are off).
           */
          KeyList<K, V> keyList = requireNonNull(keyToKeyList.remove(node.getKey()));
          keyList.count = 0;
          modCount++;
        } else {
          // requireNonNull is safe (under the conditions listed in the comment in the branch above).
          KeyList<K, V> keyList = requireNonNull(keyToKeyList.get(node.getKey()));
          keyList.count--;
    
          if (node.previousSibling == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
Back to Top