Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 78 for createArray (0.13 sec)

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

         * {@link #create(Object...)}.
         */
        protected abstract List<Long> create(Long[] elements);
    
        @Override
        public Long[] createArray(int length) {
          return new Long[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Long> order(List<Long> insertionOrder) {
          return insertionOrder;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

         * {@link #create(Object...)}.
         */
        protected abstract List<Byte> create(Byte[] elements);
    
        @Override
        public Byte[] createArray(int length) {
          return new Byte[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Byte> order(List<Byte> insertionOrder) {
          return insertionOrder;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

         * {@link #create(Object...)}.
         */
        protected abstract List<Long> create(Long[] elements);
    
        @Override
        public Long[] createArray(int length) {
          return new Long[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Long> order(List<Long> insertionOrder) {
          return insertionOrder;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, Integer>[] createArray(int length) {
          return (Entry<String, Integer>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        @Override
        public SampleElements<Integer> samples() {
          return new SampleElements<>(1, 4, 3, 2, 5);
        }
    
        @Override
        public Integer[] createArray(int length) {
          return new Integer[length];
        }
    
        @Override
        public Iterable<Integer> order(List<Integer> insertionOrder) {
          return Ordering.natural().sortedCopy(insertionOrder);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

              immutableEntry(Country.JAPAN, "YEN"),
              immutableEntry(Country.SWITZERLAND, "FRANC"));
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<Country, String>[] createArray(int length) {
          return (Entry<Country, String>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<Country, String>> order(List<Entry<Country, String>> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

         * {@link #create(Object...)}.
         */
        protected abstract List<Float> create(Float[] elements);
    
        @Override
        public Float[] createArray(int length) {
          return new Float[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Float> order(List<Float> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

         * {@link #create(Object...)}.
         */
        protected abstract List<Float> create(Float[] elements);
    
        @Override
        public Float[] createArray(int length) {
          return new Float[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Float> order(List<Float> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

         * {@link #create(Object...)}.
         */
        protected abstract List<Integer> create(Integer[] elements);
    
        @Override
        public Integer[] createArray(int length) {
          return new Integer[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Integer> order(List<Integer> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        }
      }
    
      public static class ImmutableSetWithBadHashesGenerator extends TestCollidingSetGenerator
          // Work around a GWT compiler bug.  Not explicitly listing this will
          // cause the createArray() method missing in the generated javascript.
          // TODO: Remove this once the GWT bug is fixed.
          implements TestCollectionGenerator<Object> {
        @Override
        public Set<Object> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top