Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1981 - 1990 of 7,804 for RETURN (0.04 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

      }
    
      /**
       * Used by tests that require a map, but don't care whether it's populated or not.
       *
       * @return a new map instance.
       */
      protected Map<K, V> makeEitherMap() {
        try {
          return makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return makeEmptyMap();
        }
      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ForwardingSortedMap.java

        return delegate().comparator();
      }
    
      @Override
      @ParametricNullness
      public K firstKey() {
        return delegate().firstKey();
      }
    
      @Override
      public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
        return delegate().headMap(toKey);
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
        return delegate().lastKey();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

            return Sets.unmodifiableNavigableSet((NavigableSet<E>) collection);
          } else if (collection instanceof SortedSet) {
            return Collections.unmodifiableSortedSet((SortedSet<E>) collection);
          } else if (collection instanceof Set) {
            return Collections.unmodifiableSet((Set<E>) collection);
          } else if (collection instanceof List) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

             * @return List
             */
            List<?> listOfWildcard();
        }
    
        /**
         *
         */
        public interface SetType {
    
            /**
             * @return Set
             */
            Set<String> setOfString();
    
            /**
             * @return Set
             */
            Set<Class<?>> setOfClass();
    
            /**
             * @return Set
             */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          lastTimeoutInMillis = unit.toMillis(timeout);
          return inline.submit(Iterables.get(tasks, 0)).get(timeout, unit);
        }
    
        @Override
        public boolean isShutdown() {
          lastMethodCalled = "isShutdown";
          return false;
        }
    
        @Override
        public boolean isTerminated() {
          lastMethodCalled = "isTerminated";
          return false;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableSortedAsList.java

        super(backingSet, backingList);
      }
    
      @Override
      ImmutableSortedSet<E> delegateCollection() {
        return (ImmutableSortedSet<E>) super.delegateCollection();
      }
    
      @Override
      public Comparator<? super E> comparator() {
        return delegateCollection().comparator();
      }
    
      // Override indexOf() and lastIndexOf() to be O(log N) instead of O(N).
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            return CacheStrategy(null, null)
          }
    
          return candidate
        }
    
        /** Returns a strategy to use assuming the request can use the network. */
        private fun computeCandidate(): CacheStrategy {
          // No cached response.
          if (cacheResponse == null) {
            return CacheStrategy(request, null)
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/CacheLoader.java

       *
       * @param function the function to be used for loading values; must never return {@code null}
       * @return a cache loader that loads values by passing each key to {@code function}
       */
      public static <K, V> CacheLoader<K, V> from(Function<K, V> function) {
        return new FunctionToCacheLoader<>(function);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

         * Unsafe.getUnsafe when integrating into a JDK.
         *
         * @return an Unsafe instance if successful
         */
        private static Unsafe getUnsafe() {
          try {
            return Unsafe.getUnsafe();
          } catch (SecurityException tryReflectionInstead) {
            // We'll try reflection instead.
          }
          try {
            return AccessController.doPrivileged(
                (PrivilegedExceptionAction<Unsafe>)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

        }
    
        /**
         * @return Optional active profile identifiers, never {@code null}.
         */
        public Set<String> getOptionalActiveProfileIds() {
            return getProfileIds(pa -> pa.optional() && pa.active());
        }
    
        /**
         * @return Required inactive profile identifiers, never {@code null}.
         */
        public Set<String> getRequiredInactiveProfileIds() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top