Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. android/guava-testlib/src/com/google/common/testing/ClusterException.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    
    /**
     * An {@link ClusterException} is a data structure that allows for some code to "throw multiple
     * exceptions", or something close to it. The prototypical code that calls for this class is
     * presented below:
     *
     * <pre>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/graph/DefaultProjectDependencyGraphTest.java

            assertEquals(depender1, sortedProjects.get(1));
        }
    
        @Test
        void testVerifyExpectedParentStructure() throws CycleDetectedException, DuplicateProjectException {
            // This test verifies the baseline structure used in subsequent tests. If this fails, the rest will fail.
            ProjectDependencyGraph graph = threeProjectsDependingOnASingle();
            final List<MavenProject> sortedProjects = graph.getSortedProjects();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  3. 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)
  4. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. 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)
  6. maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        protected String type;
        protected ArtifactScopeEnum artifactScope;
        protected String classifier;
    
        /**
         * explanation: why this MD was chosen over its siblings
         * in the resulting structure (classpath for now)
         */
        protected String why;
    
        /** dependencies of the artifact behind this metadata */
        protected Collection<ArtifactMetadata> dependencies;
    
        /** metadata URI */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  7. 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)
  8. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/AbstractCache.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This implementation of {@code getAllPresent} lacks any insight into the internal cache data
       * structure, and is thus forced to return the query keys instead of the cached keys. This is only
       * possible with an unsafe cast which requires {@code keys} to actually be of type {@code K}.
       *
       * @since 11.0
       */
      /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

    import static org.mockito.ArgumentMatchers.anyList;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    class DefaultGraphBuilderTest {
        /*
        The multi-module structure in this project is displayed as follows:
    
        module-parent
        └─── module-independent     (without parent declaration)
             module-a
             module-b               (depends on module-a)
             module-c
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 27.8K bytes
    - Viewed (0)
Back to top