Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for hasArray (0.09 sec)

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

         *            配列の要素
         * @return 配列
         */
        public static Boolean[] asArray(final Boolean... elements) {
            return elements;
        }
    
        /**
         * {@literal Character}の配列を返します。
         *
         * @param elements
         *            配列の要素
         * @return 配列
         */
        public static Character[] asArray(final Character... elements) {
            return elements;
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. 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));
            }
        }
    
        /**
         * 引数が不正でないことを表明します。
         *
         * @param argName
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/StatsTest.java

        // For datasets of many double values created from an array, we test many combinations of finite
        // and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          double mean = Stats.of(values.asArray()).mean();
          if (values.hasAnyNaN()) {
            assertWithMessage("mean of " + values).that(mean).isNaN();
          } else if (values.hasAnyPositiveInfinity() && values.hasAnyNegativeInfinity()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top