Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 896 for Array (0.03 sec)

  1. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.toArray(bytes)).isEqualTo(array);
        assertThat(Shorts.toArray(shorts)).isEqualTo(array);
        assertThat(Shorts.toArray(ints)).isEqualTo(array);
        assertThat(Shorts.toArray(floats)).isEqualTo(array);
        assertThat(Shorts.toArray(longs)).isEqualTo(array);
        assertThat(Shorts.toArray(doubles)).isEqualTo(array);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

        }
    
        /**
         * Returns a {@link CopyOptions} with the specified property names to include in the operation.
         *
         * @param propertyNames
         *            An array of property names. Must not be {@literal null} or an empty array.
         * @return A {@link CopyOptions} with the specified property names to include in the operation.
         * @see CopyOptions#include(CharSequence...)
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java

      @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testLastIndexOf_duplicate() {
        E[] array = createSamplesArray();
        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "lastIndexOf(duplicate) should return index of last occurrence",
            getNumElements() / 2,
            getList().lastIndexOf(e0()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

     *
     * @author Hayward Chan
     */
    final class Platform {
      // Class.cast is not supported in GWT.
      static void checkCast(Class<?> clazz, Object obj) {}
    
      static <T> T[] clone(T[] array) {
        return (T[]) Arrays.copyOfRange(array, 0, array.length);
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

        String[] array = {"a", "b", "c"};
    
        return new UnmodifiableListIterator<String>() {
          int i;
    
          @Override
          public boolean hasNext() {
            return i < array.length;
          }
    
          @Override
          public String next() {
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            return array[i++];
          }
    
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java

         * Returns the method name.
         *
         * @return Method name
         */
        public String getMethodName() {
            return methodName;
        }
    
        /**
         * Returns the array of {@link Class} for the method arguments.
         *
         * @return Array of {@link Class} for the method arguments
         */
        public Class<?>[] getMethodArgClasses() {
            return methodArgClasses;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/SerializeUtil.java

            final byte[] binary = fromObjectToBinary(obj);
            return fromBinaryToObject(binary);
        }
    
        /**
         * Converts an object to a byte array.
         *
         * @param obj the object to serialize (must not be {@literal null})
         * @return the byte array of the object
         */
        public static byte[] fromObjectToBinary(final Object obj) {
            assertArgumentNotNull("obj", obj);
    
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

        // Non-null array of zero length.
        assertThat(fem.getReplacementArray()).isEmpty();
      }
    
      public void testMapLength() {
        Map<Character, String> map =
            ImmutableMap.of(
                'a', "first",
                'z', "last");
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        // Array length is highest character value + 1
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
      protected abstract Map<String, String> create(Entry<String, String>[] entries);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

     * <li>{@link #ROLES} - The roles field.</li>
     * <li>{@link #FIELDS} - The fields field.</li>
     * <li>{@link #LANGUAGES} - The languages field.</li>
     * <li>{@link #ARRAY_KEY} - The key for array elements.</li>
     * <li>{@link #ARRAY_VALUE} - The value for array elements.</li>
     * <li>{@link #ANALYZER_SETTINGS_TYPE} - The analyzer settings type field.</li>
     * <li>{@link #ANALYZER_SETTINGS_FIELD_NAME} - The analyzer settings field name.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top