Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,611 for Element (0.12 sec)

  1. android/guava/src/com/google/common/collect/ImmutableList.java

         *
         * @param elements the {@code Iterable} to add to the {@code ImmutableList}
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code elements} is null or contains a null element
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E... elements) {
          super.add(elements);
          return this;
        }
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SingletonImmutableSet.java

      final transient E element;
    
      SingletonImmutableSet(E element) {
        this.element = Preconditions.checkNotNull(element);
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
      public boolean contains(@CheckForNull Object target) {
        return element.equals(target);
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/declarationErrors.txt

    Diagnostics from elements:
      for PSI element of type KtClass at (6,1-11)
        ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED      text ranges: [(62,69)]
          PSI: KtClass at (6,1-11)
      for PSI element of type KtNamedFunction at (4,3-21)
        ABSTRACT_FUNCTION_IN_NON_ABSTRACT_CLASS      text ranges: [(41,49)]
          PSI: KtNamedFunction at (4,3-21)
      for PSI element of type KtTypeReference at (6,10-11)
        FINAL_SUPERTYPE      text ranges: [(71,72)]
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 788 bytes
    - Viewed (0)
  4. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/HashSetCodec.kt

    }
    
    
    private
    suspend fun WriteContext.writeCollectionCheckingForCircularElements(collection: Collection<Any?>) {
        var writeCircularMarker = true
        writeCollection(collection) { element ->
            if (element != null && element in circularReferences && element.javaClass.overridesHashCode()) {
                logPropertyProblem("serialize") {
                    text("Circular references can lead to undefined behavior upon deserialization.")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/AbstractClassBackedManagedTypeIntegrationTest.groovy

                    void createElement(CustomToString element) {
                        element.stringRepresentation = "custom string representation"
                    }
    
                    @Mutate
                    void addEchoTask(ModelMap<Task> tasks, CustomToString element) {
                        tasks.create("echo") {
                            it.doLast {
                                println "element: ${element.toString()}"
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/HierarchicalElement.java

    import javax.annotation.Nullable;
    
    /**
     * Represents an element which belongs to some hierarchy.
     *
     * @since 1.0-milestone-5
     */
    public interface HierarchicalElement extends Element {
    
        /**
         * Returns the parent of this element, or {@code null} if there is no parent.
         *
         * @return The parent of this element, or {@code null} if there is no parent.
         * @since 1.0-milestone-5
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/ModelElement.java

    /**
     * Represents an element in a model. Elements are arranged in a hierarchy.
     */
    @Incubating
    public interface ModelElement extends Named {
        /**
         * Returns the name of this element. Each element has a name associated with it, that uniquely identifies the element amongst its siblings.
         * Some element have their name generated or automatically assigned, and for these elements the name may not be human consumable.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingList.java

      @Override
      public int indexOf(@CheckForNull Object element) {
        return delegate().indexOf(element);
      }
    
      @Override
      public int lastIndexOf(@CheckForNull Object element) {
        return delegate().lastIndexOf(element);
      }
    
      @Override
      public ListIterator<E> listIterator() {
        return delegate().listIterator();
      }
    
      @Override
      public ListIterator<E> listIterator(int index) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java

      // This reference is used both by the custom field serializer, and by the
      // GWT compiler to infer the elements of the lists that needs to be
      // serialized.
      //
      // Although this reference is non-final, it doesn't change after set creation.
      E element;
    
      SingletonImmutableSet(E element) {
        this.element = checkNotNull(element);
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedSet.java

        public IsolatedSet(ImmutableSet<Isolatable<?>> elements) {
            super(elements);
        }
    
        @Override
        public ValueSnapshot asSnapshot() {
            ImmutableSet.Builder<ValueSnapshot> builder = ImmutableSet.builderWithExpectedSize(elements.size());
            for (Isolatable<?> element : elements) {
                builder.add(element.asSnapshot());
            }
            return new SetValueSnapshot(builder.build());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top