Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for createArray (0.07 sec)

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

        }
    
        @Override
        public Map<K, V> create(Object... elements) {
          return generator.create(elements);
        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return generator.createArray(length);
        }
    
        @Override
        public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) {
          return generator.order(insertionOrder);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        }
    
        @Override
        public Set<E> create(Object... elements) {
          return (Set<E>) SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                  public SampleElements<E> samples() {
                    return delegate.samples();
                  }
    
                  @Override
                  public E[] createArray(int length) {
                    return delegate.createArray(length);
                  }
    
                  @Override
                  public Iterable<E> order(List<E> insertionOrder) {
                    List<E> list = new ArrayList<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        E[] array = getSubjectGenerator().createArray(getNumElements());
        assertSame(
            "toArray(sameSizeE[]) should return the given array", array, collection.toArray(array));
        expectArrayContentsAnyOrder(createSamplesArray(), array);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testToArray_rightSizedArray_ordered() {
        E[] array = getSubjectGenerator().createArray(getNumElements());
        assertSame(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public Set<Entry<K, V>> create(Object... elements) {
          return mapGenerator.create(elements).entrySet();
        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return mapGenerator.createArray(length);
        }
    
        @Override
        public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) {
          return mapGenerator.order(insertionOrder);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

            duplicated[i + elements.length] = elements[i];
          }
          return ((Multiset<E>) gen.create(duplicated)).elementSet();
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(new ArrayList<E>(new LinkedHashSet<E>(insertionOrder)));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

        }
    
        @Override
        public SampleElements<Entry<K, V>> samples() {
          return multimapGenerator.samples();
        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return multimapGenerator.createArray(length);
        }
    
        @Override
        public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) {
          return multimapGenerator.order(insertionOrder);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

      @Override
      public SampleElements<UnhashableObject> samples() {
        return new Unhashables();
      }
    
      @Override
      public T create(Object... elements) {
        UnhashableObject[] array = createArray(elements.length);
        int i = 0;
        for (Object e : elements) {
          array[i++] = (UnhashableObject) e;
        }
        return create(array);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

      @Override
      public SampleElements<UnhashableObject> samples() {
        return new Unhashables();
      }
    
      @Override
      public T create(Object... elements) {
        UnhashableObject[] array = createArray(elements.length);
        int i = 0;
        for (Object e : elements) {
          array[i++] = (UnhashableObject) e;
        }
        return create(array);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

        }
    
        @Override
        public Collection<E> create(Object... elements) {
          return SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 18 22:49:45 UTC 2021
    - 3.6K bytes
    - Viewed (0)
Back to top