Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 847 for element1 (0.05 sec)

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

        implements TestSortedSetGenerator<String> {
    
      @Override
      public SortedSet<String> create(Object... elements) {
        return (SortedSet<String>) super.create(elements);
      }
    
      @Override
      protected abstract SortedSet<String> create(String[] elements);
    
      /** Sorts the elements by their natural ordering. */
      @Override
      public List<String> order(List<String> insertionOrder) {
        sort(insertionOrder);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

    import javax.annotation.processing.SupportedAnnotationTypes;
    import javax.annotation.processing.SupportedSourceVersion;
    import javax.lang.model.SourceVersion;
    import javax.lang.model.element.Element;
    import javax.lang.model.element.PackageElement;
    import javax.lang.model.element.TypeElement;
    import javax.tools.Diagnostic;
    import javax.tools.FileObject;
    import javax.tools.StandardLocation;
    
    import java.io.BufferedReader;
    import java.io.IOException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MultisetFeature implements Feature<Multiset> {
      /**
       * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the
       * backing multiset.
       */
      ENTRIES_ARE_VIEWS;
    
      @Override
      public Set<Feature<? super Multiset>> getImpliedFeatures() {
        return emptySet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        return new TestEnumMultisetGenerator() {
          @Override
          protected Multiset<AnEnum> create(AnEnum[] elements) {
            return (elements.length == 0)
                ? EnumMultiset.create(AnEnum.class)
                : EnumMultiset.create(asList(elements));
          }
        };
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN,
        WHITE
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * invoke methods, they invoke methods on the {@code ForwardingNavigableSet}.
     *
     * <p>Each of the {@code standard} methods uses the set's comparator (or the natural ordering of the
     * elements, if there is no comparator) to test element equality. As a result, if the comparator is
     * not consistent with equals, some of the standard implementations may violate the {@code Set}
     * contract.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultimap.java

          // at least one element.
          this.expectedValuesPerKey = max(expectedValuesPerKey, 1);
    
          return this;
        }
    
        /**
         * By default, if we are handed a value collection bigger than expectedValuesPerKey, presize to
         * accept that many elements.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

        return new Enums();
      }
    
      @Override
      public Set<AnEnum> create(Object... elements) {
        AnEnum[] array = new AnEnum[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (AnEnum) e;
        }
        return create(array);
      }
    
      protected abstract Set<AnEnum> create(AnEnum[] elements);
    
      @Override
      public AnEnum[] createArray(int length) {
        return new AnEnum[length];
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. cmd/metacache-bucket_test.go

    	bm := newBucketMetacache("", false)
    	const elements = 50000
    	const paths = 100
    	if elements%paths != 0 {
    		b.Fatal("elements must be divisible by the number of paths")
    	}
    	var pathNames [paths]string
    	for i := range pathNames[:] {
    		pathNames[i] = fmt.Sprintf("prefix/%d", i)
    	}
    	for i := 0; i < elements; i++ {
    		bm.findCache(listPathOptions{
    			ID:           mustGetUUID(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 25 23:29:45 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingQueue.java

        }
      }
    
      /**
       * A sensible definition of {@link #peek} in terms of {@link #element}. If you override {@link
       * #element}, you may wish to override {@link #peek} to forward to this implementation.
       *
       * @since 7.0
       */
      @CheckForNull
      protected E standardPeek() {
        try {
          return element();
        } catch (NoSuchElementException caught) {
          return null;
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

    /**
     * Creates sorted maps, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSortedMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestMapGenerator<K, V> {
      @Override
      SortedMap<K, V> create(Object... elements);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top