Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for structure (0.18 sec)

  1. android/guava/src/com/google/common/collect/Cut.java

    import com.google.common.primitives.Booleans;
    import java.io.Serializable;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation detail for the internal structure of {@link Range} instances. Represents a unique
     * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/HashBiMap.java

        Arrays.fill(result, oldSize, newSize, ABSENT);
        return result;
      }
    
      @Override
      public int size() {
        return size;
      }
    
      /**
       * Ensures that all of the internal structures in the HashBiMap are ready for this many elements.
       */
      private void ensureCapacity(int minCapacity) {
        if (nextInBucketKToV.length < minCapacity) {
          int oldCapacity = nextInBucketKToV.length;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * code would be responsible for populating a "real" {@code T} (which might still be the value
       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
       * without having to add {@code @SuppressWarnings}, the code can call this method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactLinkedHashSet.java

        return set;
      }
    
      /**
       * Creates a {@code CompactLinkedHashSet} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty {@code CompactLinkedHashSet} with enough capacity to hold {@code
    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/escape/ArrayBasedCharEscaper.java

     * array contains information about special ASCII characters such as {@code \\t} and {@code \\n}
     * while {@link #escapeUnsafe} is overridden to handle general escaping of the form {@code \\uxxxx}.
     *
     * <p>The size of the data structure used by {@link ArrayBasedCharEscaper} is proportional to the
     * highest valued character that requires escaping. For example a replacement map containing the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/MoreFilesTest.java

        }
      }
    
      /**
       * Creates a new file system for testing that supports the given features in addition to
       * supporting symbolic links. The file system is created initially having the following file
       * structure:
       *
       * <pre>
       *   /
       *      work/
       *         dir/
       *            a
       *            b/
       *               g
       *               h -> ../a
       *               i/
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

      /**
       * Returns an estimate of the number of threads waiting to enter this monitor. The value is only
       * an estimate because the number of threads may change dynamically while this method traverses
       * internal data structures. This method is designed for use in monitoring of the system state,
       * not for synchronization control.
       */
      public int getQueueLength() {
        return lock.getQueueLength();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        return createInstance(factory, tentativeArgs).hashCode()
            == createInstance(factory, args).hashCode();
      }
    
      // distinctValues is a type-safe class-values mapping, but we don't have a type-safe data
      // structure to hold the mappings.
      @SuppressWarnings({"unchecked", "rawtypes"})
      private FreshValueGenerator newFreshValueGenerator() {
        FreshValueGenerator generator =
            new FreshValueGenerator() {
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

             */
            callInterruptTask = false;
          }
          // We call this before the listeners in order to avoid needing to manage a separate stack data
          // structure for them.  Also, some implementations rely on this running prior to listeners
          // so that the cleanup work is visible to listeners.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Striped.java

     * very compact {@code Striped<Lock>} of {@code availableProcessors() * 4} stripes, instead of
     * possibly thousands of locks which could be created in a {@code Map<K, Lock>} structure.
     *
     * @author Dimitris Andreou
     * @since 13.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class Striped<L> {
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
Back to top