Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 938 for _element (0.05 sec)

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

        }
    
        @Override
        public List<Integer> create(Object... elements) {
          Integer[] array = new Integer[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Integer) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        }
    
        @Override
        public List<Double> create(Object... elements) {
          Double[] array = new Double[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Double) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

            return false;
          }
          int i = parent.start;
          // Since `that` is very likely RandomAccess we could avoid allocating this iterator...
          for (Object element : that) {
            if (!(element instanceof Long) || parent.array[i++] != (Long) element) {
              return false;
            }
          }
          return true;
        }
    
        // Because we happen to use the same formula. If that changes, just don't override this.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

            return false;
          }
          int i = parent.start;
          // Since `that` is very likely RandomAccess we could avoid allocating this iterator...
          for (Object element : that) {
            if (!(element instanceof Integer) || parent.array[i++] != (Integer) element) {
              return false;
            }
          }
          return true;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return ImmutableMultiset.copyOf(elements).elementSet();
                      }
                    })
                .named("ImmutableMultiset, element set")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/delmarker-expiration.go

    	Days    int      `xml:"Days,omitempty"`
    }
    
    // Empty returns if a DelMarkerExpiration XML element is empty.
    // Used to detect if lifecycle.Rule contained a DelMarkerExpiration element.
    func (de DelMarkerExpiration) Empty() bool {
    	return de.Days == 0
    }
    
    // UnmarshalXML decodes a single XML element into a DelMarkerExpiration value
    func (de *DelMarkerExpiration) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. api/maven-api-model/src/main/mdo/maven.mdo

              <name>licenses</name>
              <version>3.0.0+</version>
              <description>
                <![CDATA[
                This element describes all the licenses for this project.
                Each license is described by a {@code license} element, which
                is then described by additional elements.
                Projects should only list the license(s) that applies to the project
                and not the licenses that apply to dependencies.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingListIterator.java

      /** Constructor for use by subclasses. */
      protected ForwardingListIterator() {}
    
      @Override
      protected abstract ListIterator<E> delegate();
    
      @Override
      public void add(@ParametricNullness E element) {
        delegate().add(element);
      }
    
      @Override
      public boolean hasPrevious() {
        return delegate().hasPrevious();
      }
    
      @Override
      public int nextIndex() {
        return delegate().nextIndex();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/InvalidParameterException.java

     */
    package org.apache.maven.plugin.descriptor;
    
    /**
     */
    public class InvalidParameterException extends InvalidPluginDescriptorException {
        public InvalidParameterException(String element, int i) {
            super("The " + element + " element in parameter # " + i + " is invalid. It cannot be null.");
        }
    
        public InvalidParameterException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. utils/utils_test.go

    			trimLen:  5,
    			expected: []int{},
    		},
    		{
    			name:     "Zero trim length",
    			input:    []int{1, 2, 3},
    			trimLen:  0,
    			expected: []int{1, 2, 3},
    		},
    		{
    			name:     "Trim one element from end",
    			input:    []int{1, 2, 3},
    			trimLen:  1,
    			expected: []int{1, 2},
    		},
    		{
    			name:     "Empty slice",
    			input:    []int{},
    			trimLen:  2,
    			expected: []int{},
    		},
    		{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top