Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for setFirst (0.05 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      private static class Holder<T> {
        List<T>[] matrix;
    
        void setList(List<T> list) {}
      }
    
      public void testWildcardCaptured_methodParameter_upperBound() throws Exception {
        TypeToken<Holder<?>> type = new TypeToken<Holder<?>>() {};
        ImmutableList<Parameter> parameters =
            type.method(Holder.class.getDeclaredMethod("setList", List.class)).getParameters();
        assertThat(parameters).hasSize(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      /** @since 12.0 */
      @Override
      @CheckForNull
      public E ceiling(E e) {
        return Iterables.<@Nullable E>getFirst(tailSet(e, true), null);
      }
    
      /** @since 12.0 */
      @GwtIncompatible // NavigableSet
      @Override
      @CheckForNull
      public E higher(E e) {
        return Iterables.<@Nullable E>getFirst(tailSet(e, false), null);
      }
    
      @Override
      public E first() {
        return iterator().next();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
        }
    
        @Override
        protected void writeHeaders(final HttpServletResponse response) {
            ComponentUtil.getFessConfig().getApiJsonResponseHeaderList().forEach(e -> response.setHeader(e.getFirst(), e.getSecond()));
        }
    
        protected void writeJsonResponse(final int status, final Throwable t) {
            final Supplier<String> stacktraceString = () -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * @throws NullPointerException if the first element is null; if this is a possibility, use {@code
       *     iterator().next()} or {@link Iterables#getFirst} instead.
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final Optional<@NonNull E> first() {
        Iterator<E> iterator = getDelegate().iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

        @CheckForNull
        public E pollLast() {
          synchronized (mutex) {
            return delegate().pollLast();
          }
        }
    
        @Override
        public E getFirst() {
          synchronized (mutex) {
            return delegate().getFirst();
          }
        }
    
        @Override
        public E getLast() {
          synchronized (mutex) {
            return delegate().getLast();
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Synchronized.java

        @CheckForNull
        public E pollLast() {
          synchronized (mutex) {
            return delegate().pollLast();
          }
        }
    
        @Override
        public E getFirst() {
          synchronized (mutex) {
            return delegate().getFirst();
          }
        }
    
        @Override
        public E getLast() {
          synchronized (mutex) {
            return delegate().getLast();
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

       * @return the first element of {@code iterable} or the default value
       * @since 7.0
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getFirst(
          Iterable<? extends T> iterable, @ParametricNullness T defaultValue) {
        return Iterators.getNext(iterable.iterator(), defaultValue);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                        logger.warn("DefaultHttpClient does not have {}.", propertyName);
                    }
                }
            }
    
            formSchemeList.forEach(p -> {
                final FormScheme scheme = p.getFirst();
                final Credentials credentials = p.getSecond();
                scheme.authenticate(credentials, (request, consumer) -> {
    
                    // request header
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

        <T> void clearReferenceQueue(ReferenceQueue<T> referenceQueue) {
          while (referenceQueue.poll() != null) {}
        }
    
        /** Returns first entry of bin for given hash. */
        @CheckForNull
        E getFirst(int hash) {
          // read this volatile field only once
          AtomicReferenceArray<E> table = this.table;
          return table.get(hash & (table.length() - 1));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        <T> void clearReferenceQueue(ReferenceQueue<T> referenceQueue) {
          while (referenceQueue.poll() != null) {}
        }
    
        /** Returns first entry of bin for given hash. */
        @CheckForNull
        E getFirst(int hash) {
          // read this volatile field only once
          AtomicReferenceArray<E> table = this.table;
          return table.get(hash & (table.length() - 1));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
Back to top