Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for hasArray (0.05 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * @return the array
         */
        public static Boolean[] asArray(final Boolean... elements) {
            return elements;
        }
    
        /**
         * Returns an array of {@literal Character}.
         *
         * @param elements the elements of the array
         * @return the array
         */
        public static Character[] asArray(final Character... elements) {
            return elements;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/AssertionUtil.java

            if (argValue < 0) {
                throw new ClIllegalArgumentException(argName, "ECL0014", asArray(argName));
            }
            if (argValue >= arraySize) {
                throw new ClIllegalArgumentException(argName, "ECL0015", asArray(argName, arraySize));
            }
        }
    
        /**
         * Asserts that the argument is valid.
         *
         * @param argName
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/FieldUtil.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.lang.reflect.Field;
    import java.lang.reflect.Modifier;
    import java.lang.reflect.Type;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertArrayEquals(new int[] { 1, 2 }, ArrayUtil.asIntArray(1, 2));
            assertArrayEquals(new Object[] { "a", 2 }, ArrayUtil.asArray("a", 2));
            assertArrayEquals(new String[] { "a", "b" }, ArrayUtil.asArray("a", "b"));
            assertArrayEquals(new Integer[] { 1, 2 }, ArrayUtil.asArray(1, 2));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAddAll() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/log/Logger.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.log;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    import static org.codelibs.core.collection.CollectionsUtil.newHashMap;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/TraversalUtil.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    import static org.codelibs.core.collection.CollectionsUtil.newArrayList;
    import static org.codelibs.core.collection.CollectionsUtil.newConcurrentHashMap;
    import static org.codelibs.core.collection.CollectionsUtil.newHashSet;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        for (ManyValues values : ALL_MANY_VALUES) {
          StatsAccumulator accumulator = new StatsAccumulator();
          StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
          accumulator.addAll(values.asArray());
          for (double value : values.asIterable()) {
            accumulatorByAddAllStats.addAll(Stats.of(value));
          }
          double max = accumulator.max();
          double maxByAddAllStats = accumulatorByAddAllStats.max();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top