Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5611 - 5620 of 5,958 for retain (2.25 sec)

  1. android/guava/src/com/google/common/base/Optional.java

                while (iterator.hasNext()) {
                  Optional<? extends T> optional = iterator.next();
                  if (optional.isPresent()) {
                    return optional.get();
                  }
                }
                return endOfData();
              }
            };
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Verify.java

       * message otherwise.
       *
       * @return {@code reference}, guaranteed to be non-null, for convenience
       * @throws VerifyException if {@code reference} is {@code null}
       * @see Preconditions#checkNotNull Preconditions.checkNotNull()
       */
      @CanIgnoreReturnValue
      public static <T> T verifyNotNull(@Nullable T reference) {
        return verifyNotNull(reference, "expected a non-null reference");
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(Collection<T> collection) {
        // return collection::iterator;
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
            return collection.iterator();
          }
        };
      }
    
      public void testEquals() {
        new EqualsTester()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        if (defaultValue != null) {
          return defaultValue;
        }
        Class<? extends T> implementation = getImplementation(type);
        if (implementation != null) {
          return get(implementation);
        }
        if (type == Stream.class) {
          return type.cast(Stream.empty());
        }
        if (type.isEnum()) {
          T[] enumConstants = type.getEnumConstants();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        for (Class<?> mutableClass : mutableClasses) {
          Object instance = ArbitraryInstances.get(mutableClass);
          assertWithMessage("Expected to return non-null for: %s", mutableClass)
              .that(instance)
              .isNotNull();
          assertNotSame(
              "Expected to return fresh instance for: " + mutableClass,
              instance,
              ArbitraryInstances.get(mutableClass));
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractService.java

        }
      }
    
      @Override
      public final boolean isRunning() {
        return state() == RUNNING;
      }
    
      @Override
      public final State state() {
        return snapshot.externalState();
      }
    
      /**
       * @since 14.0
       */
      @Override
      public final Throwable failureCause() {
        return snapshot.failureCause();
      }
    
      /**
       * @since 13.0
       */
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMultiset.java

          offset += entry.getCount();
        }
        return offset;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        return Multisets.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(entrySet());
      }
    
      @Override
      public String toString() {
        return entrySet().toString();
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

                lastResponseData = responseData;
                return matchResult;
            }
    
            public void setMatchResult(boolean matchResult) {
                this.matchResult = matchResult;
            }
    
            public int getMatchCallCount() {
                return matchCallCount;
            }
    
            public ResponseData getLastResponseData() {
                return lastResponseData;
            }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java

    /*
     * Copyright 2012-2025 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

    /*
     * Copyright (C) 2006 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top