Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 383 for toArray (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        checkArgument(
            strictlyOrderedElements.length >= 3,
            "strictlyOrderedElements " + "requires at least 3 elements");
        List<T> list = asList(strictlyOrderedElements);
    
        // for use calling Collection.toArray later
        T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
    
        // shoot me, but I didn't want to deal with wildcards through the whole test
        @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        checkArgument(
            strictlyOrderedElements.length >= 3,
            "strictlyOrderedElements " + "requires at least 3 elements");
        List<T> list = asList(strictlyOrderedElements);
    
        // for use calling Collection.toArray later
        T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
    
        // shoot me, but I didn't want to deal with wildcards through the whole test
        @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

                builder.append(FIRST_ESC_CHAR);
                builder.append(SECOND_ESC_CHAR);
                builder.append('m');
            } else {
                doAppendEscapeSequence('m', attributeOptions.toArray());
            }
            attributeOptions.clear();
        }
    
        private Ansi doAppendEscapeSequence(char command, Object... options) {
            builder.append(FIRST_ESC_CHAR);
            builder.append(SECOND_ESC_CHAR);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

          return forward.descendingIterator();
        }
    
        @Override
        public @Nullable Object[] toArray() {
          return standardToArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return standardToArray(array);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Ordering.java

            // specialized for k much smaller than n.
    
            @SuppressWarnings("unchecked") // c only contains E's and doesn't escape
            E[] array = (E[]) collection.toArray();
            sort(array, this);
            if (array.length > k) {
              array = Arrays.copyOf(array, k);
            }
            return unmodifiableList(asList(array));
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                        searchRequestBuilder.setQuery(
                                QueryBuilders.termsQuery(docIdField, deleteFileMap.keySet().toArray(new String[deleteFileMap.size()])));
                        searchRequestBuilder.setFetchSource(new String[] { docIdField }, StringUtil.EMPTY_STRINGS);
                        return true;
                    }).forEach(m -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. test-site/activator-launch-1.3.2.jar

    scala.collection.IndexedSeqOptimized { public abstract Object scala$collection$mutable$ArrayOps$$super$toArray(scala.reflect.ClassTag); } scala/collection/mutable/ArrayOps$ofUnit.class package scala.collection.mutable; public final synchronized class ArrayOps$ofUnit implements ArrayOps { private final scala.runtime.BoxedUnit[] repr; public final Object scala$collection$mutable$ArrayOps$$super$toArray(scala.reflect.ClassTag); public final void copyToArray(Object, int, int); public final Object toArr...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/StringUtil.java

            final StringTokenizer st = new StringTokenizer(str, delim);
            while (st.hasMoreElements()) {
                list.add(st.nextElement().toString());
            }
            return list.toArray(new String[list.size()]);
        }
    
        /**
         * 左側の空白を削ります。
         *
         * @param text
         *            テキスト
         * @return 結果の文字列
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        @SuppressWarnings("unchecked")
        public Pair<String, String>[] getDesignJspFileNames() {
            return designJspFileNameMap.entrySet().stream().map(e -> new Pair<>(e.getKey(), e.getValue())).toArray(n -> new Pair[n]);
        }
    
        public List<Path> refreshDesignJspFiles() {
            final List<Path> fileList = new ArrayList<>();
            stream(ComponentUtil.getVirtualHostHelper().getVirtualHostPaths())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

        }
    
        List<String> sampleDataList = new ArrayList<>();
        sampleDataList.addAll(hits);
        sampleDataList.addAll(misses);
        Collections.shuffle(sampleDataList);
        sampleData = sampleDataList.toArray(new String[sampleDataList.size()]);
      }
    
      // Since we can't pass a concrete SomeEnum.class directly, we need to use a raw type.
      @SuppressWarnings("unchecked")
      @Benchmark
      boolean getIfPresent(int repetitions) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top