Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for getDest (0.05 seconds)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertThat(Iterators.getLast(iterator, "bar")).isEqualTo("bar");
      }
    
      public void testGetLast_withDefault_empty_null() {
        Iterator<String> iterator = emptyIterator();
        assertThat(Iterators.<@Nullable String>getLast(iterator, null)).isNull();
      }
    
      public void testGetLast_withDefault_two() {
        Iterator<String> iterator = asList("foo", "bar").iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertThat(Iterators.getLast(iterator, "bar")).isEqualTo("bar");
      }
    
      public void testGetLast_withDefault_empty_null() {
        Iterator<String> iterator = emptyIterator();
        assertThat(Iterators.<@Nullable String>getLast(iterator, null)).isNull();
      }
    
      public void testGetLast_withDefault_two() {
        Iterator<String> iterator = asList("foo", "bar").iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

         * @return the new first entry for the table
         */
        @GuardedBy("this")
        @Nullable E removeFromChain(E first, E entry) {
          int newCount = count;
          E newFirst = entry.getNext();
          for (E e = first; e != entry; e = e.getNext()) {
            E next = copyEntry(e, newFirst);
            if (next != null) {
              newFirst = next;
            } else {
              newCount--;
            }
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * @return the new first entry for the table
         */
        @GuardedBy("this")
        @Nullable E removeFromChain(E first, E entry) {
          int newCount = count;
          E newFirst = entry.getNext();
          for (E e = first; e != entry; e = e.getNext()) {
            E next = copyEntry(e, newFirst);
            if (next != null) {
              newFirst = next;
            } else {
              newCount--;
            }
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

       * @return the last element of {@code iterator}
       * @since 3.0
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getLast(
          Iterator<? extends T> iterator, @ParametricNullness T defaultValue) {
        return iterator.hasNext() ? getLast(iterator) : defaultValue;
      }
    
      /**
       * Calls {@code next()} on {@code iterator}, either {@code numberToAdvance} times or until {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Iterators.java

       * @return the last element of {@code iterator}
       * @since 3.0
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getLast(
          Iterator<? extends T> iterator, @ParametricNullness T defaultValue) {
        return iterator.hasNext() ? getLast(iterator) : defaultValue;
      }
    
      /**
       * Calls {@code next()} on {@code iterator}, either {@code numberToAdvance} times or until {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                    n++;
                    final int size = chain.size();
                    final int cost = chain.getCreditCost();
                    final CommonServerMessageBlockRequest next = chain.getNext();
                    if (log.isTraceEnabled()) {
                        log.trace(String.format("%s costs %d avail %d (%s)", chain.getClass().getName(), cost, this.credits.availablePermits(),
                                this.name));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                value = "http:" + urlStr;
            } else {
                value = urlStr;
            }
            try {
                final URL url = new URL(value);
                final String host = url.getHost();
                if (StringUtil.isBlank(host) || "http".equalsIgnoreCase(host) || "https".equalsIgnoreCase(host)) {
                    return false;
                }
            } catch (final MalformedURLException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @return the last element, or null if the collection is empty
         * @since Java 21
         */
        public static <E> E getLast(final SequencedCollection<E> collection) {
            return collection.isEmpty() ? null : collection.getLast();
        }
    
        /**
         * Adds an element to the beginning of a sequenced collection.
         *
         * @param <E> the element type
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public E getFirst() {
          synchronized (mutex) {
            return delegate().getFirst();
          }
        }
    
        @Override
        public E getLast() {
          synchronized (mutex) {
            return delegate().getLast();
          }
        }
    
        @Override
        public @Nullable E peekFirst() {
          synchronized (mutex) {
            return delegate().peekFirst();
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
Back to Top