Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 480 for sublist (0.11 sec)

  1. platforms/jvm/scala/src/main/java/org/gradle/api/tasks/ScalaRuntime.java

                return new DefaultExternalModuleDependency("org.scala-lang", "scala3-sbt-bridge", scalaVersion);
            } else {
                String scalaMajorMinorVersion = Joiner.on('.').join(Splitter.on('.').splitToList(scalaVersion).subList(0, 2));
                return new DefaultExternalModuleDependency("org.scala-sbt", "compiler-bridge_" + scalaMajorMinorVersion, zincVersion);
            }
        }
    
        /**
         * Determines Scala compiler jar to download.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                            final ModelReference<?> mappedSubject = mapSubject(action.getSubject(), targetPath);
                            mapInputs(inputs.subList(0, action.getInputs().size()), targetPath);
                            final MethodRuleDefinition<?, ?> methodRuleDefinition = details.method;
                            final Factory<? extends T> factory = getFactory();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(asList(1, 2), partitions.get(0));
        assertEquals(asList(3), partitions.get(1));
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
      @GwtIncompatible // ArrayList.subList doesn't implement RandomAccess in GWT.
      public void testPartitionRandomAccessTrue() {
        List<Integer> source = asList(1, 2, 3);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        float[] array = {(float) 0, (float) 1, (float) 2, (float) 3};
        List<Float> list = Floats.asList(array);
        assertThat(Floats.toArray(list.subList(1, 3))).isEqualTo(new float[] {(float) 1, (float) 2});
        assertThat(Floats.toArray(list.subList(2, 2))).isEmpty();
      }
    
      public void testAsListEmpty() {
        assertThat(Floats.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        int[] array = {(int) 0, (int) 1, (int) 2, (int) 3};
        List<Integer> list = Ints.asList(array);
        assertThat(Ints.toArray(list.subList(1, 3))).isEqualTo(new int[] {(int) 1, (int) 2});
        assertThat(Ints.toArray(list.subList(2, 2))).isEqualTo(new int[] {});
      }
    
      public void testAsListEmpty() {
        assertThat(Ints.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/DoublesTest.java

        double[] array = {(double) 0, (double) 1, (double) 2, (double) 3};
        List<Double> list = Doubles.asList(array);
        assertThat(Doubles.toArray(list.subList(1, 3)))
            .isEqualTo(new double[] {(double) 1, (double) 2});
        assertThat(Doubles.toArray(list.subList(2, 2))).isEmpty();
      }
    
      public void testAsListEmpty() {
        assertThat(Doubles.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/FloatsTest.java

        float[] array = {(float) 0, (float) 1, (float) 2, (float) 3};
        List<Float> list = Floats.asList(array);
        assertThat(Floats.toArray(list.subList(1, 3))).isEqualTo(new float[] {(float) 1, (float) 2});
        assertThat(Floats.toArray(list.subList(2, 2))).isEmpty();
      }
    
      public void testAsListEmpty() {
        assertThat(Floats.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/LongsTest.java

        long[] array = {(long) 0, (long) 1, (long) 2, (long) 3};
        List<Long> list = Longs.asList(array);
        assertThat(Longs.toArray(list.subList(1, 3))).isEqualTo(new long[] {(long) 1, (long) 2});
        assertThat(Longs.toArray(list.subList(2, 2))).isEqualTo(new long[] {});
      }
    
      public void testAsListEmpty() {
        assertThat(Longs.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(asList(1, 2), partitions.get(0));
        assertEquals(asList(3), partitions.get(1));
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
      @GwtIncompatible // ArrayList.subList doesn't implement RandomAccess in GWT.
      public void testPartitionRandomAccessTrue() {
        List<Integer> source = asList(1, 2, 3);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Ints.java

      }
    
      /**
       * Reverses the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
       * exclusive. This is equivalent to {@code
       * Collections.reverse(Ints.asList(array).subList(fromIndex, toIndex))}, but is likely to be more
       * efficient.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
       *     {@code toIndex > fromIndex}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top