Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for define (0.2 sec)

  1. android/guava/src/com/google/common/reflect/Reflection.java

      /**
       * Returns the package name of {@code clazz} according to the Java Language Specification (section
       * 6.7). Unlike {@link Class#getPackage}, this method only parses the class name, without
       * attempting to define the {@link Package} and hence load files.
       */
      public static String getPackageName(Class<?> clazz) {
        return getPackageName(clazz.getName());
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

         * a given entry might not include null. The right fix for the header problems is probably to
         * define a separate MultimapLink interface with a separate "header" implementation, which
         * hopefully could avoid implementing Entry or ValueSetLink at all. (But note that that approach
         * requires us to define extra classes -- unfortunate under Android.) *Then* we could consider
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

        return requireLinks()[i];
      }
    
      private void setLink(int i, long value) {
        requireLinks()[i] = value;
      }
    
      /*
       * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because
       * they're defined above -- including logic to add and subtract 1 to map between the values stored
       * in the predecessor/successor arrays and the indexes in the elements array that they identify.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactLinkedHashSet.java

        return requireNonNull(predecessor);
      }
    
      private int[] requireSuccessors() {
        return requireNonNull(successor);
      }
    
      /*
       * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because
       * they're defined above -- including logic to add and subtract 1 to map between the values stored
       * in the predecessor/successor arrays and the indexes in the elements array that they identify.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/ElementOrder.java

      /**
       * Returns the {@link Comparator} used.
       *
       * @throws UnsupportedOperationException if comparator is not defined
       */
      public Comparator<T> comparator() {
        if (comparator != null) {
          return comparator;
        }
        throw new UnsupportedOperationException("This ordering does not define a comparator.");
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 6.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LongAdder.java

     * sum that is used for purposes such as collecting statistics, not for fine-grained synchronization
     * control. Under low update contention, the two classes have similar characteristics. But under
     * high contention, expected throughput of this class is significantly higher, at the expense of
     * higher space consumption.
     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          assertTaskWrapped(tasks);
          lastMethodCalled = "invokeAllTimeout";
          lastTimeoutInMillis = unit.toMillis(timeout);
          return inline.invokeAll(tasks, timeout, unit);
        }
    
        // Define the invokeAny methods to invoke the first task
        @Override
        public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
            throws ExecutionException, InterruptedException {
          assertTaskWrapped(tasks);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/LongAdder.java

     * sum that is used for purposes such as collecting statistics, not for fine-grained synchronization
     * control. Under low update contention, the two classes have similar characteristics. But under
     * high contention, expected throughput of this class is significantly higher, at the expense of
     * higher space consumption.
     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/Quantiles.java

     * computeInPlace} instead of {@code compute}.
     *
     * <h3>Definition and notes on interpolation</h3>
     *
     * <p>The definition of the kth q-quantile of N values is as follows: define x = k * (N - 1) / q; if
     * x is an integer, the result is the value which would appear at index x in the sorted dataset
     * (unless there are {@link Double#NaN NaN} values, see below); otherwise, the result is the average
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/PreconditionsTest.java

         *
         * That combination upsets NullPointerTester, which wants any call that passes null for a
         * non-@Nullable parameter to trigger a NullPointerException.
         *
         * (We still define this empty method to keep PackageSanityTests from generating its own
         * automated nullness tests, which would fail.)
         */
      }
    
      private static final Object IGNORE_ME =
          new Object() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top