Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2831 - 2840 of 3,480 for tree (0.03 sec)

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

    import com.google.common.testing.NullPointerTester;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Primitives}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
        assertThat(Primitives.isWrapperType(Void.class)).isTrue();
        assertThat(Primitives.isWrapperType(void.class)).isFalse();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeParameter.java

    import static com.google.common.base.Preconditions.checkArgument;
    
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import javax.annotation.CheckForNull;
    
    /**
     * Captures a free type variable that can be used in {@link TypeToken#where}. For example:
     *
     * <pre>{@code
     * static <T> TypeToken<List<T>> listOf(Class<T> elementType) {
     *   return new TypeToken<List<T>>() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

    /*
     * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a
     * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
     */
    @GwtCompatible(emulated = true)
    final class LenientSerializableTester {
      /*
       * TODO(cpovirk): move this to c.g.c.testing if we allow for c.g.c.annotations dependencies so
       * that it can be GWTified?
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/NetworkConnections.java

       */
      N adjacentNode(E edge);
    
      /**
       * Remove {@code edge} from the set of incoming edges. Returns the former predecessor node.
       *
       * <p>In the undirected case, returns {@code null} if {@code isSelfLoop} is true.
       */
      @CanIgnoreReturnValue
      @CheckForNull
      N removeInEdge(E edge, boolean isSelfLoop);
    
      /** Remove {@code edge} from the set of outgoing edges. Returns the former successor node. */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  5. common/config/.golangci-format.yml

    # "make update-common".
    
    run:
      # Timeout for analysis, e.g. 30s, 5m.
      # Default: 1m
      timeout: 20m
      build-tags:
      - integ
      - integfuzz
    linters:
      disable-all: true
      enable:
      - goimports
      - gofumpt
      - gci
      fast: false
    linters-settings:
      gci:
        sections:
          - standard # Captures all standard packages if they do not match another section.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 05 03:02:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodTableRenderer.java

                    td.appendChild(caution);
                    caution.appendChild(document.createTextNode("Incubating"));
                }
                td.appendChild(document.importNode(methodDoc.getDescription(), true));
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodsRenderer.java

                    }
                }
            }
        }
    
        private boolean hasMethods(ClassDoc classDoc) {
            boolean hasMethods = false;
            if (!classDoc.getClassMethods().isEmpty()) {
                hasMethods = true;
            }
            for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) {
                hasMethods |= !extensionDoc.getExtensionMethods().isEmpty();
            }
            return hasMethods;
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertiesRenderer.java

                }
            }
        }
    
        private boolean hasProperties(ClassDoc classDoc) {
            boolean hasProperties = false;
            if (!classDoc.getClassProperties().isEmpty()) {
                hasProperties = true;
            }
            for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) {
                hasProperties |= !extensionDoc.getExtensionProperties().isEmpty();
            }
            return hasProperties;
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  9. cmd/utils.go

    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

        return Long.compare(a, b);
      }
    
      /**
       * Returns {@code true} if {@code target} is present as an element anywhere in {@code array}.
       *
       * @param array an array of {@code long} values, possibly empty
       * @param target a primitive {@code long} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top