Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 846 for element1 (0.06 sec)

  1. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

            var i = 0
            val parts = line.split(Regex(" ")).toTypedArray()
    
            val element = WebPlatformUrlTestData()
            element.input = unescape(parts[i++])
    
            val base = if (i < parts.size) parts[i++] else null
            element.base =
              when {
                base == null || base.isEmpty() -> list[list.size - 1].base
                else -> unescape(base)
              }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                  protected List<String> create(final String[] elements) {
                    return new AbstractList<String>() {
                      @Override
                      public int size() {
                        return elements.length;
                      }
    
                      @Override
                      public String get(int index) {
                        return elements[index];
                      }
                    };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                  protected List<String> create(final String[] elements) {
                    return new AbstractList<String>() {
                      @Override
                      public int size() {
                        return elements.length;
                      }
    
                      @Override
                      public String get(int index) {
                        return elements[index];
                      }
                    };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

        return new Unhashables();
      }
    
      @Override
      public T create(Object... elements) {
        UnhashableObject[] array = createArray(elements.length);
        int i = 0;
        for (Object e : elements) {
          array[i++] = (UnhashableObject) 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: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        final int hash;
    
        Element(int hash) {
          this.hash = hash;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return this == obj || (obj instanceof Element && ((Element) obj).hash == hash);
        }
    
        @Override
        public int hashCode() {
          return hash;
        }
    
        @Override
        public int compareTo(Element that) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                    Collections.reverse(list);
                    return list;
                  }
    
                  @Override
                  public Set<E> create(Object... elements) {
                    NavigableSet<E> navigableSet = (NavigableSet<E>) delegate.create(elements);
                    return navigableSet.descendingSet();
                  }
                })
            .named(parentBuilder.getName() + " descending")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

        @Override
        protected List<String> create(String[] elements) {
          ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
          for (int i = 0; i < elements.length; i++) {
            builder.put(elements[i], i);
          }
          return builder.build().keySet().asList();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

      @Override
      public int add(@ParametricNullness E element, int occurrences) {
        if (occurrences == 0) {
          return count(element);
        }
        checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences);
        Count frequency = backingMap.get(element);
        int oldCount;
        if (frequency == null) {
          oldCount = 0;
          backingMap.put(element, new Count(occurrences));
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                    for (PluginExecution element : tgt) {
                        Object key = getPluginExecutionKey().apply(element);
                        merged.put(key, element);
                    }
    
                    for (PluginExecution element : src) {
                        Object key = getPluginExecutionKey().apply(element);
                        PluginExecution existing = merged.get(key);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/SLinkedList.java

        /**
         * 先頭に追加します。
         *
         * @param element
         *            追加するオブジェクト
         */
        public void addFirst(final E element) {
            header.next.addBefore(element);
        }
    
        /**
         * 最後に追加します。
         *
         * @param element
         *            追加するオブジェクト
         */
        public void addLast(final E element) {
            header.addBefore(element);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top