Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 924 for Elements (0.05 sec)

  1. guava/src/com/google/common/primitives/Bytes.java

      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Bytes.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(byte[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java

      Collection<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Lists.newArrayList(contents);
      }
    
      @Override
      Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) {
        return Collections2.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. apache-maven/src/assembly/maven/conf/toolchains.xml

      <!--
       | With toolchains you can refer to installations on your system. This
       | way you don't have to hardcode paths in your pom.xml.
       |
       | Every toolchain consist of 3 elements:
       | * type: the type of tool. An often used value is 'jdk'. Toolchains-aware
       |   plugins should document which type you must use.
       |
       | * provides: A list of key/value-pairs.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

    import org.apache.maven.project.ExtensionDescriptorBuilder;
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    
    /**
     * Provides information about artifacts (identified by groupId:artifactId string key) and classpath elements exported by
     * Maven core itself or a Maven core extension.
     *
     * @since 3.3.0
     */
    public class CoreExtensionEntry {
        private final ClassRealm realm;
    
        private final Set<String> artifacts;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        public int count(@Nullable Object element) {
          for (Entry<E> entry : entrySet()) {
            if (Objects.equal(entry.getElement(), element)) {
              return entry.getCount();
            }
          }
          return 0;
        }
    
        @Override
        public int add(E element, int occurrences) {
          checkArgument(occurrences >= 0);
          Integer frequency = backingMap.get(element);
          if (frequency == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java

     *
     * @author Kevin Bourrillion
     */
    public class PowerSetBenchmark {
      @Param({"2", "4", "8", "16"})
      int elements;
    
      Set<Set<Integer>> powerSet;
    
      @BeforeExperiment
      void setUp() {
        Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers());
        powerSet = Sets.powerSet(set);
      }
    
      @Benchmark
      int iteration(int reps) {
        int sum = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Serialization.java

       * support concurrent multisets whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of distinct elements, the first element, its
       * count, the second element, its count, and so on.
       */
      static <E extends @Nullable Object> void writeMultiset(
          Multiset<E> multiset, ObjectOutputStream stream) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        @Override
        public int count(@Nullable Object element) {
          return standardCount(element);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public boolean add(E element) {
          return standardAdd(element);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

          TestCollectionGenerator<E> delegate) {
        return new ReserializingTestCollectionGenerator<>(delegate);
      }
    
      @Override
      public Collection<E> create(Object... elements) {
        return reserialize(delegate.create(elements));
      }
    
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        try {
          ByteArrayOutputStream bytes = new ByteArrayOutputStream();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt

        abstract val projectDependencies: ConfigurableFileCollection
    
        @Input
        val runtime = externalDependencies.elements.map { it.map { it.asFile.name }.sorted() }
    
        @get:Internal
        abstract val externalDependencies: ConfigurableFileCollection
    
        @Input
        val projects = projectDependencies.elements.map { it.map { it.toGradleModuleName() }.sorted() }
    
        @get:OutputFile
        abstract val manifestFile: RegularFileProperty
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Mar 28 20:26:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top