Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2391 - 2400 of 5,965 for public (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapComputeIfAbsentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfAbsent_supportedAbsent() {
        assertEquals(
            "computeIfAbsent(notPresent, function) should return new value",
            v3(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeTraverser.java

          this.queue = new ArrayDeque<>();
          queue.add(root);
        }
    
        @Override
        public boolean hasNext() {
          return !queue.isEmpty();
        }
    
        @Override
        public T peek() {
          return queue.element();
        }
    
        @Override
        public T next() {
          T result = queue.remove();
          Iterables.addAll(queue, children(result));
          return result;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

        }
    
        @Override
        public Type getGenericComponentType() {
          return componentType;
        }
    
        @Override
        public String toString() {
          return Types.toString(componentType) + "[]";
        }
    
        @Override
        public int hashCode() {
          return componentType.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/audit/SecurityAuditLogger.java

     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/EnumerationIterator.java

         */
        public EnumerationIterator(final Enumeration<T> enumeration) {
            assertArgumentNotNull("enumeration", enumeration);
            this.enumeration = enumeration;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
        @Override
        public boolean hasNext() {
            return enumeration.hasMoreElements();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

     * so you can specify multiple options using method chaining.
     * </p>
     *
     * <pre>
     * copyBeanToBean(srcBean, destBean, excludeNull().dateConverter("date", "MM/dd"));
     * </pre>
     *
     * @author koichik
     */
    public abstract class CopyOptionsUtil {
    
        /**
         * Do not instantiate.
         */
        protected CopyOptionsUtil() {
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HostSpecifier.java

       * the documentation for {@link #fromValid(String)}.
       */
      public static boolean isValid(String specifier) {
        try {
          HostSpecifier unused = fromValid(specifier);
          return true;
        } catch (IllegalArgumentException e) {
          return false;
        }
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (this == other) {
          return true;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/MultiIterator.java

         */
        public static <E> Iterable<E> iterable(final Iterator<E>... iterators) {
            assertArgumentNotNull("iterators", iterators);
    
            return () -> new MultiIterator<>(iterators);
        }
    
        /**
         * Constructs an instance.
         *
         * @param iterators the array of {@link Iterator}s (must not be {@literal null})
         */
        public MultiIterator(final Iterator<E>... iterators) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java

     * Provides methods to add, remove, check, and retrieve rules.
     *
     */
    public class RuleManagerImpl implements RuleManager {
    
        /** The list of rules managed by this rule manager. */
        protected final List<Rule> ruleList = new ArrayList<>();
    
        /**
         * Creates a new RuleManagerImpl instance.
         */
        public RuleManagerImpl() {
            // Default constructor
        }
    
        /*
         * (non-Javadoc)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

     * Clients may request multiple sessions.
     */
    public final class OAuthSessionFactory extends Dispatcher implements Closeable {
      private final SecureRandom secureRandom = new SecureRandom();
    
      private final SlackApi slackApi;
      private MockWebServer mockWebServer;
    
      /** Guarded by this. */
      private final Map<ByteString, Listener> listeners = new LinkedHashMap<>();
    
      public OAuthSessionFactory(SlackApi slackApi) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (1)
Back to top