Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 345 for ToArray (0.05 sec)

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

          delegate.clear();
        }
    
        @Override
        public Object[] toArray() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toArray(array);
        }
    
        @Override
        public void addFirst(E e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          Set<Object> expected = new HashMap<>(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)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/QueryResponseList.java

            return parent.subList(fromIndex, toIndex);
        }
    
        @Override
        public Object[] toArray() {
            return parent.toArray();
        }
    
        @Override
        public <T> T[] toArray(final T[] a) {
            return parent.toArray(a);
        }
    
        /**
         * Gets the starting position of the current page in the overall result set.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

              Object[] result = standardToArray();
              return result;
            }
    
            @Override
            @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
            public <T extends @Nullable Object> T[] toArray(T[] array) {
              return standardToArray(array);
            }
          };
        }
    
        private static <K, V extends @Nullable Object> Iterator<Entry<K, V>> transformEntries(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

                    this.getReadings().stream().map(reading -> new String[] { reading }).toArray(count -> new String[count][]);
            return new SuggestItem(new String[] { this.getElevateWord() }, readingArray, fields.toArray(new String[fields.size()]), 1, 0,
                    this.getBoost(), this.getTags().toArray(new String[this.getTags().size()]),
                    this.getRoles().toArray(new String[this.getRoles().size()]), null, SuggestItem.Kind.USER);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. android/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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          char[] chars = Chars.toArray(asList(elements));
          return charactersOf(String.copyValueOf(chars));
        }
      }
    
      public static class CharactersOfCharSequenceGenerator extends TestCharacterListGenerator {
        @Override
        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(asList(elements));
          StringBuilder str = new StringBuilder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableCollection.java

      @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation
      public final Object[] toArray() {
        return toArray(EMPTY_ARRAY);
      }
    
      @CanIgnoreReturnValue
      @Override
      /*
       * This suppression is here for two reasons:
       *
       * 1. b/192354773 in our checker affects toArray declarations.
       *
       * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Parameter.java

        return getDeclaredAnnotationsByType(annotationType);
      }
    
      /**
       * @since 18.0
       */
      @Override
      public Annotation[] getDeclaredAnnotations() {
        return annotations.toArray(new Annotation[0]);
      }
    
      /**
       * @since 18.0
       */
      @Override
      public <A extends Annotation> @Nullable A getDeclaredAnnotation(Class<A> annotationType) {
        checkNotNull(annotationType);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

            }
    
            public Iterator<E> iterator() {
                return parent.iterator();
            }
    
            public Object[] toArray() {
                return parent.toArray();
            }
    
            public <T> T[] toArray(final T[] a) {
                return parent.toArray(a);
            }
    
            public boolean add(final E e) {
                return parent.add(e);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top