Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for structure (0.16 sec)

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

        };
      }
    
      /** Returns the children of the specified node. Must not contain null. */
      public abstract Iterable<T> children(T root);
    
      /**
       * Returns an unmodifiable iterable over the nodes in a tree structure, using pre-order traversal.
       * That is, each node's subtrees are traversed after the node itself is returned.
       *
       * <p>No guarantees are made about the behavior of the traversal when nodes change while iteration
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

          pre-calculated execution plan that stays the same during the execution.
    
          If deciding to add mutable state to this class, it should be at least considered to
          separate this into a separate mutable structure.
    
        */
    
        private final List<ExecutionPlanItem> planItem;
    
        private final Map<String, ExecutionPlanItem> lastMojoExecutionForAllPhases;
    
        final List<String> phasesInExecutionPlan;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         */
        Set<Throwable> seenExceptionsLocal = seenExceptions;
        if (seenExceptionsLocal == null) {
          // TODO(cpovirk): Should we use a simpler (presumably cheaper) data structure?
          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
           * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent
           * pass.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * href="http://portal.acm.org/citation.cfm?id=6621">min-max heap</a> developed by Atkinson, et al.
     * Unlike many other double-ended priority queues, it stores elements in a single array, as compact
     * as the traditional heap data structure used in {@link PriorityQueue}.
     *
     * <p>This class is not thread-safe, and does not accept null elements.
     *
     * <p><i>Performance notes:</i>
     *
     * <ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashSet.java

     * which is optimal, and <i>not</i> the size of the internal hashtable, which could be much larger
     * than {@code size()}. Furthermore, this structure only depends on a fixed number of arrays; {@code
     * add(x)} operations <i>do not</i> create objects for the garbage collector to deal with, and for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * from uniform), and amortized since some operations can trigger a hash table resize.
     *
     * <p>As compared with {@link java.util.LinkedHashMap}, this structure places significantly reduced
     * load on the garbage collector by only using a constant number of internal objects.
     *
     * <p>This class should not be assumed to be universally superior to {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

    // I want to set up a local/remote repositories for testing but I don't want to have
    // to change them when I change the layout of the repositories. So I want to generate
    // the structure I want to test by using the artifact handler manager which dictates
    // the layout used for a particular artifact type.
    
    /**
     */
    @Deprecated
    class ArtifactResolverTest extends AbstractArtifactComponentTestCase {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          // Runnable is executed more than once, allocate a wrapper that we know is safe to remove by
          // object identity.
          // A data structure that returned a removal handle from add() would allow eliminating this
          // allocation.
          submittedTask =
              new Runnable() {
                @Override
                public void run() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ListsImplTest.java

    public class ListsImplTest extends TestCase {
    
      /** Describes how a list is modifiable */
      public enum Modifiability {
        NONE, // immutable lists
        BY_ELEMENT, // elements can change (set), but not structure
        DIRECT_ONLY, // Element can be added and removed only via direct calls, not through iterators
        ALL // Elements can be added and removed as well as modified.
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top