Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,848 for instance (0.09 sec)

  1. guava/src/com/google/common/primitives/Shorts.java

       * moved to index "distance", and the element at index {@code i} ends up at index {@code (distance
       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Shorts.asList(array),
       * distance)}, but is considerably faster and avoids allocation and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/EqualsTester.java

              item.hashCode(),
              item.hashCode());
          if (!(item instanceof String)) {
            assertTrue(
                item + " must not be Object#equals to its Object#toString representation",
                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Equivalence.java

       *
       * @since 13.0
       * @since 4.0 (in Equivalences)
       */
      public static Equivalence<Object> identity() {
        return Identity.INSTANCE;
      }
    
      static final class Equals extends Equivalence<Object> implements Serializable {
    
        static final Equals INSTANCE = new Equals();
    
        @Override
        protected boolean doEquivalent(Object a, Object b) {
          return a.equals(b);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                        final BiConsumer<Map<String, Object>, IndexRequestBuilder> options) {
                    sentIndex.set(index);
                    docList.forEach(x -> options.accept(x, new IndexRequestBuilder(this, IndexAction.INSTANCE)));
                    sentDocList.addAll(docList);
                    return new BulkResponse(new BulkItemResponse[0], documentSizeByQuery);
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Absent.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Absent<T> extends Optional<T> {
      static final Absent<Object> INSTANCE = new Absent<>();
    
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      static <T> Optional<T> withType() {
        return (Optional<T>) INSTANCE;
      }
    
      private Absent() {}
    
      @Override
      public boolean isPresent() {
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
        FreshValueGenerator generator = new FreshValueGenerator();
        T instance = generator.newFreshProxy(interfaceType);
        new EqualsTester()
            .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance))
            .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType)))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/LittleEndianByteArray.java

    /**
     * Utility functions for loading and storing values from a byte array.
     *
     * @author Kevin Damm
     * @author Kyle Maddison
     */
    @ElementTypesAreNonnullByDefault
    final class LittleEndianByteArray {
    
      /** The instance that actually does the work; delegates to Unsafe or a pure-Java fallback. */
      private static final LittleEndianBytes byteArray;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/KotlinInternalFilter.groovy

        boolean matches(CtClass ctClass) {
            return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctClass)
        }
    
        @Override
        boolean matches(CtField ctField) {
            return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctField)
        }
    
        @Override
        boolean matches(CtBehavior ctBehavior) {
            return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctBehavior)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      }
    
      private static GetCheckedTypeValidator nonCachingWithoutConstructorCheckValidator() {
        return NonCachingWithoutConstructorCheckValidator.INSTANCE;
      }
    
      private enum NonCachingWithoutConstructorCheckValidator implements GetCheckedTypeValidator {
        INSTANCE;
    
        @Override
        public void validateClass(Class<? extends Exception> exceptionClass) {
          checkArgument(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 22 03:01:34 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Interners.java

        }
      }
    
      /** Returns a fresh {@link InternerBuilder} instance. */
      public static InternerBuilder newBuilder() {
        return new InternerBuilder();
      }
    
      /**
       * Returns a new thread-safe interner which retains a strong reference to each instance it has
       * interned, thus preventing these instances from being garbage-collected. If this retention is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top