Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for value1 (0.16 sec)

  1. src/main/java/org/codelibs/core/misc/Tuple4.java

         * インスタンスを構築します。
         *
         * @param value1
         *            1番目の値
         * @param value2
         *            2番目の値
         * @param value3
         *            3番目の値
         * @param value4
         *            4番目の値
         */
        public Tuple4(final T1 value1, final T2 value2, final T3 value3, final T4 value4) {
            this.value1 = value1;
            this.value2 = value2;
            this.value3 = value3;
            this.value4 = value4;
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

    public class StreamUtilTest extends TestCase {
    
        public void test_ofValues() {
            String[] values = { "value1", "value2" };
            StreamUtil.stream(values[0], values[1]).of(s -> {
                Object[] array = s.toArray();
                for (int i = 0; i < 2; i++) {
                    assertEquals(values[i], array[i]);
                }
            });
        }
    
        public void test_ofNull() {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/Tuple5.java

         */
        public Tuple5(final T1 value1, final T2 value2, final T3 value3, final T4 value4, final T5 value5) {
            this.value1 = value1;
            this.value2 = value2;
            this.value3 = value3;
            this.value4 = value4;
            this.value5 = value5;
        }
    
        /**
         * 1番目の値を返します。
         *
         * @return 1番目の値
         */
        public T1 getValue1() {
            return value1;
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/Tuple3.java

         *            2番目の値
         * @param value3
         *            3番目の値
         */
        public Tuple3(final T1 value1, final T2 value2, final T3 value3) {
            this.value1 = value1;
            this.value2 = value2;
            this.value3 = value3;
        }
    
        /**
         * 1番目の値を返します。
         *
         * @return 1番目の値
         */
        public T1 getValue1() {
            return value1;
        }
    
        /**
         * 1番目の値を設定します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/Maps.java

         * @param <VALUE>
         *            <code>Map</code>の値ーの型
         * @param key
         *            <code>Map</code>に追加されるキー
         * @param value
         *            <code>Map</code>に追加される値
         * @return 指定されたキーと値を持つ{@link IdentityHashMap}を構築するための{@literal Maps}
         */
        public static <KEY, VALUE> Maps<KEY, VALUE> identityHashMap(final KEY key, final VALUE value) {
            return new Maps<>(new IdentityHashMap<KEY, VALUE>()).$(key, value);
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

        public static String toString(final Object value, final String pattern) {
            if (value == null) {
                return null;
            } else if (value instanceof String) {
                return (String) value;
            } else if (value instanceof java.util.Date) {
                return toString((java.util.Date) value, pattern);
            } else if (value instanceof Number) {
                return toString((Number) value, pattern);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

            if (groupingSeparator != null) {
                value = StringUtil.replace(value, groupingSeparator, "");
            }
            return value;
        }
    
        /**
         * グルーピング用のセパレータを探します。
         *
         * @param locale
         *            ロケール
         * @return グルーピング用のセパレータ
         */
        public static String findGroupingSeparator(final Locale locale) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

         * .
         */
        @Test
        public void testIsNotEmptyMapOfQQ() {
            final HashMap<String, String> map = new HashMap<String, String>();
            map.put("key", "value");
            assertThat(CollectionsUtil.isNotEmpty(map), is(true));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            }
        }
    
        @Override
        public void setValue(final Object target, final Object value) {
            assertArgumentNotNull("target", target);
    
            try {
                final Object convertedValue = convertIfNeed(value);
                assertState(writable, propertyName + " is not writable.");
                if (hasWriteMethod()) {
                    try {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/SingleValueIterator.java

        public static <E> Iterable<E> iterable(final E value) {
            return () -> new SingleValueIterator<>(value);
        }
    
        /**
         * インスタンスを構築します。
         *
         * @param value
         *            反復子が返す唯一の値
         */
        public SingleValueIterator(final E value) {
            this.value = value;
        }
    
        @Override
        public boolean hasNext() {
            return hasNext;
        }
    
        @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top