Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,938 for Returns (0.06 sec)

  1. guava-tests/test/com/google/common/cache/TestingWeighers.java

    @NullUnmarked
    public final class TestingWeighers {
    
      /** Returns a {@link Weigher} that returns the given {@code constant} for every request. */
      static Weigher<Object, Object> constantWeigher(int constant) {
        return new ConstantWeigher(constant);
      }
    
      /** Returns a {@link Weigher} that uses the integer key as the weight. */
      static Weigher<Integer, Object> intKeyWeigher() {
        return new IntKeyWeigher();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

            try {
                return ResourceBundle.getBundle(name);
            } catch (final MissingResourceException ignore) {
                return null;
            }
        }
    
        /**
         * Returns the bundle. Returns <code>null</code> if not found.
         *
         * @param name the resource bundle name (must not be {@literal null} or empty)
         * @param locale the locale
         * @return {@link ResourceBundle}
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMap.java

      }
    
      /**
       * Returns a serializable form of this object. Non-public subclasses should not override this
       * method. Publicly-accessible subclasses must override this method and should return a subclass
       * of SerializedForm whose readResolve() method returns objects of the subclass type.
       */
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new SerializedForm<>(this);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/SystemUtil.java

        /**
         * Returns the system property value for the specified key.
         *
         * @param key the property key
         * @return the property value, or null if not found
         */
        public static String getProperty(String key) {
            return System.getProperty(key);
        }
    
        /**
         * Returns the system property value for the specified key, or the default value if not found.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        builder.put(k5, v5);
        return builder.build();
      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ParametricNullness.java

     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

            copyMapToBean(src, dest, options);
            return dest;
        }
    
        /**
         * Copies the source Bean to a new instance of {@literal LinkedHashMap} and returns it.
         *
         * @param src The source Bean. Must not be {@literal null}.
         * @return The newly copied Bean.
         */
        public static Map<String, Object> copyBeanToNewMap(final Object src) {
            return copyBeanToNewMap(src, DEFAULT_OPTIONS);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      /** Returns a hash function implementing the SHA-512 algorithm (512 hash bits). */
      public static HashFunction sha512() {
        return Sha512Holder.SHA_512;
      }
    
      private static final class Sha512Holder {
        static final HashFunction SHA_512 =
            new MessageDigestHashFunction("SHA-512", "Hashing.sha512()");
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/ConstructorDesc.java

         *
         * @return An array of the parameter types of the constructor
         */
        Class<?>[] getParameterTypes();
    
        /**
         * Returns {@literal true} if the constructor is {@literal public}.
         *
         * @return {@literal true} if the constructor is {@literal public}
         */
        boolean isPublic();
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Comparators.java

          while (it.hasNext()) {
            T next = it.next();
            if (comparator.compare(prev, next) >= 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} smallest (relative to the specified
       * {@code Comparator}) input elements, in ascending order, as an unmodifiable {@code List}. Ties
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top