Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 3,211 for Gist (0.06 sec)

  1. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      }
    
      public void testCopyOf_iterable_notCollection_nonempty() {
        List<Double> list = Arrays.asList(0.0, 1.0, 3.0);
        ImmutableDoubleArray iia = ImmutableDoubleArray.copyOf(iterable(list));
        list.set(2, 2.0);
        assertThat(iia.asList()).containsExactly(0.0, 1.0, 3.0).inOrder();
      }
    
      public void testCopyOf_iterable_collection_empty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

      }
    
      @Override
      protected final Iterable<? extends Stimulus<E, ? super ListIterator<E>>> getStimulusValues() {
        List<Stimulus<E, ? super ListIterator<E>>> list = new ArrayList<>();
        Helpers.addAll(list, iteratorStimuli());
        Helpers.addAll(list, listIteratorStimuli());
        return list;
      }
    
      @Override
      protected abstract ListIterator<E> newTargetIterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingListMultimap.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.List;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A list multimap which forwards all its method calls to another list multimap. Subclasses should
     * override one or more methods to modify the behavior of the backing multimap as desired per the <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            implements ModelInterpolator, Initializable {
    
        private static final List<String> PROJECT_PREFIXES = Arrays.asList("pom.", "project.");
    
        private static final List<String> TRANSLATED_PATH_EXPRESSIONS;
    
        static {
            List<String> translatedPrefixes = new ArrayList<>();
    
            // MNG-1927, MNG-2124, MNG-3355:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                Map<String, Artifact> managedVersions,
                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories,
                ArtifactMetadataSource source,
                ArtifactFilter filter,
                List<ResolutionListener> listeners,
                List<ConflictResolver> conflictResolvers)
                throws ArtifactResolutionException, ArtifactNotFoundException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          // don't let the entries get GCed
          List<Entry<Object, Object>> unused = warmUp(cache);
          assertEquals(WARMUP_SIZE, cache.size());
          assertMapSize(cache.asMap(), WARMUP_SIZE);
          checkValidState(cache);
        }
      }
    
      public void testContainsKey_found() {
        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
          List<Entry<Object, Object>> warmed = warmUp(cache);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingListMultimap.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.List;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A list multimap which forwards all its method calls to another list multimap. Subclasses should
     * override one or more methods to modify the behavior of the backing multimap as desired per the <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

    import java.util.IdentityHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.CopyOnWriteArrayList;
    
    import org.apache.maven.project.DependencyResolutionResult;
    import org.apache.maven.project.MavenProject;
    
    public class DefaultMavenExecutionResult implements MavenExecutionResult {
        private MavenProject project;
    
        private List<MavenProject> topologicallySortedProjects = Collections.emptyList();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt

                        operator fun String.plus(some: List<Int>): String
                        infix fun Int.plus(some: List<Int>): Int
                    }
                """
            ) {
                assertHasErrors(
                    "Method com.example.Source.plus(java.lang.String,java.util.List): Breaking Kotlin modifier change.",
                    "Method com.example.Source.plus(int,java.util.List): Breaking Kotlin modifier change.",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/body-nested-models.md

    Однако в Python есть способ объявления списков с указанием типов для вложенных элементов:
    
    ### Импортируйте `List` из модуля typing
    
    В Python 3.9 и выше вы можете использовать стандартный тип `list` для объявления аннотаций типов, как мы увидим ниже. 💡
    
    Но в версиях Python до 3.9 (начиная с 3.6) сначала вам необходимо импортировать `List` из стандартного модуля `typing` в Python:
    
    ```Python hl_lines="1"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top