Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for direction (4.94 sec)

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

     * future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code
     * java.util.function.Supplier}, making conversion code necessary only in one direction. At that
     * time, this interface will be officially discouraged.
     *
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Supplier<T extends @Nullable Object>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * include a {@link Builder.DuplicateKey} in case duplicate keys are not allowed now or will not
       * be allowed on a later {@link Builder#buildOrThrow()} call.
       *
       * @param keyOffset 1 if this is the reverse direction of a BiMap, 0 otherwise.
       * @return an {@code Object} that is a {@code byte[]}, {@code short[]}, or {@code int[]}, the
       *     smallest possible to fit {@code tableSize}; or an {@code Object[]} where [0] is one of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Suppliers.java

          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
          long nanos = expirationNanos;
          long now = System.nanoTime();
          if (nanos == 0 || now - nanos >= 0) {
            synchronized (this) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Graphs.java

        return ImmutableSet.copyOf(Traverser.forGraph(graph).breadthFirst(node));
      }
    
      // Graph mutation methods
    
      // Graph view methods
    
      /**
       * Returns a view of {@code graph} with the direction (if any) of every edge reversed. All other
       * properties remain intact, and further updates to {@code graph} will be reflected in the view.
       */
      public static <N> Graph<N> transpose(Graph<N> graph) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Function.java

     * version of {@code com.google.common.base.Function} will be made to <i>extend</i> {@code
     * java.util.function.Function}, making conversion code necessary only in one direction. At that
     * time, this interface will be officially discouraged.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private void appendUserObject(StringBuilder builder, @CheckForNull Object o) {
        // This is some basic recursion detection for when people create cycles via set/setFuture or
        // when deep chains of futures exist resulting in a StackOverflowException. We could detect
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

      static class Segment<K, V> extends ReentrantLock {
    
        /*
         * TODO(fry): Consider copying variables (like evictsBySize) from outer class into this class.
         * It will require more memory but will reduce indirection.
         */
    
        /*
         * Segments maintain a table of entry lists that are ALWAYS kept in a consistent state, so can
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

         * can take 1-10 seconds to find colliding objects. Mocking frameworks that
         * can do magic to mock static method calls still can't do so for a system
         * class, so we need the indirection. In production, Hotspot should still
         * recognize that the call is 1-morphic and should still be willing to
         * inline it if necessary.
         */
        int identityHashCode(Object object) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertEquals("{a=[a1, a4, a4], b=[b6]}", transformed.toString());
      }
    
      public void testSynchronizedMultimapSampleCodeCompilation() {
        // Extra indirection for J2KT, to avoid error: not enough information to infer type variable K
        this.<@Nullable Object, @Nullable Object>genericTestSynchronizedMultimapSampleCodeCompilation();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LocalCache.java

      static class Segment<K, V> extends ReentrantLock {
    
        /*
         * TODO(fry): Consider copying variables (like evictsBySize) from outer class into this class.
         * It will require more memory but will reduce indirection.
         */
    
        /*
         * Segments maintain a table of entry lists that are ALWAYS kept in a consistent state, so can
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top