Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 431 for toArray (0.41 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        }
    
        /*
         * Note: the superclass toArray() methods assume that size() gives a correct
         * answer, which ours does not.
         */
    
        @Override
        public Object[] toArray() {
          return snapshot().toArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
          return snapshot().toArray(array);
        }
    
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

                        if (StringUtil.isNotBlank(v)) {
                            urlPatterList.add(Pattern.compile(v));
                        }
                    }
                    includedDocUrlPatterns = urlPatterList.toArray(new Pattern[urlPatterList.size()]);
                } else {
                    includedDocUrlPatterns = new Pattern[0];
                }
            }
    
            if (excludedDocUrlPatterns == null) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        }
    
        /*
         * Note: the superclass toArray() methods assume that size() gives a correct
         * answer, which ours does not.
         */
    
        @Override
        public Object[] toArray() {
          return snapshot().toArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
          return snapshot().toArray(array);
        }
    
        /*
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/EvictingQueue.java

        }
        return standardAddAll(collection);
      }
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited implementation
      public Object[] toArray() {
        /*
         * If we could, we'd declare the no-arg `Collection.toArray()` to return "Object[] but elements
         * have the same nullness as E." Since we can't, we declare it to return nullable elements, and
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

            if (StringUtil.isNotBlank(value)) {
                split(value, ",").of(stream -> stream.forEach(list::add));
            }
            return list.stream().filter(StringUtil::isNotBlank).map(String::trim).toArray(n -> new String[n]);
        }
    
        protected String[] getDefaultRolesAsArray() {
            final List<String> list = new ArrayList<>();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SynchronizedSetTest.java

          return super.size();
        }
    
        @Override
        public Object[] toArray() {
          assertTrue(Thread.holdsLock(mutex));
          return super.toArray();
        }
    
        @Override
        public <T> T[] toArray(T[] a) {
          assertTrue(Thread.holdsLock(mutex));
          return super.toArray(a);
        }
    
        private static final long serialVersionUID = 0;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/EvictingQueue.java

        }
        return standardAddAll(collection);
      }
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited implementation
      public Object[] toArray() {
        /*
         * If we could, we'd declare the no-arg `Collection.toArray()` to return "Object[] but elements
         * have the same nullness as E." Since we can't, we declare it to return nullable elements, and
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          Set<Object> expected = Maps.newHashMap(cache.asMap()).keySet();
          assertThat(keys).containsExactlyElementsIn(expected);
          assertThat(keys.toArray()).asList().containsExactlyElementsIn(expected);
          assertThat(keys.toArray(new Object[0])).asList().containsExactlyElementsIn(expected);
    
          new EqualsTester()
              .addEqualityGroup(cache.asMap().keySet(), keys)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          Set<Object> expected = Maps.newHashMap(cache.asMap()).keySet();
          assertThat(keys).containsExactlyElementsIn(expected);
          assertThat(keys.toArray()).asList().containsExactlyElementsIn(expected);
          assertThat(keys.toArray(new Object[0])).asList().containsExactlyElementsIn(expected);
    
          new EqualsTester()
              .addEqualityGroup(cache.asMap().keySet(), keys)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * to dump the queue into a newly allocated array of {@code String}:
       *
       * <pre>
       *     String[] y = x.toArray(new String[0]);</pre>
       *
       * <p>Note that {@code toArray(new Object[0])} is identical in function to {@code toArray()}.
       *
       * @param a the array into which the elements of the queue are to be stored, if it is big enough;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
Back to top