Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 257 for Signal (0.14 sec)

  1. src/main/java/org/codelibs/core/net/URLUtil.java

         */
        public static InputStream openStream(final URL url) {
            assertArgumentNotNull("url", url);
    
            try {
                final URLConnection connection = url.openConnection();
                connection.setUseCaches(false);
                return connection.getInputStream();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

        @Test
        public void testToDate_ShortStyle() throws Exception {
            final Date date = toDate("10/9/7 11:49", Locale.JAPAN);
            assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("2010/9/7 11:49:10", Locale.JAPAN);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/Tuple5.java

         *            4番目の値
         * @param value5
         *            5番目の値
         * @return 5つの値の組
         */
        public static <T1, T2, T3, T4, T5> Tuple5<T1, T2, T3, T4, T5> tuple5(final T1 value1, final T2 value2, final T3 value3, final T4 value4,
                final T5 value5) {
            return new Tuple5<>(value1, value2, value3, value4, value5);
        }
    
        /**
         * インスタンスを構築します。
         */
        public Tuple5() {
        }
    
        /**
    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/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

                @Override
                public void startElement(final String uri, final String localName, final String qName, final Attributes attributes)
                        throws SAXException {
                    if ("bar".equals(qName)) {
                        included = true;
                    }
                }
    
                @Override
                public InputSource resolveEntity(final String publicId, final String systemId) throws IOException, SAXException {
    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)
  5. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         */
        protected static void gatherTypeVariables(final Class<?> clazz, final Type type, final Map<TypeVariable<?>, Type> map) {
            if (clazz == null) {
                return;
            }
            gatherTypeVariables(type, map);
    
            final Class<?> superClass = clazz.getSuperclass();
            final Type superClassType = clazz.getGenericSuperclass();
            if (superClass != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachJarFile() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/Tuple3.java

         *            1番目の値
         * @param value2
         *            2番目の値
         * @param value3
         *            3番目の値
         * @return 3つの値の組
         */
        public static <T1, T2, T3> Tuple3<T1, T2, T3> tuple3(final T1 value1, final T2 value2, final T3 value3) {
            return new Tuple3<>(value1, value2, value3);
        }
    
        /**
         * インスタンスを構築します。
         */
        public Tuple3() {
        }
    
        /**
         * インスタンスを構築します。
         *
    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)
  8. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

         */
        @Test
        public void test() throws Exception {
            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
    
            final IndexedIterator<String> it = new IndexedIterator<String>(list.iterator());
    
            assertThat(it.hasNext(), is(true));
    
            final Indexed<String> indexed1 = it.next();
            assertThat(indexed1.getIndex(), is(0));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/stream/StreamUtil.java

        public static <T> StreamOf<T> stream(final T... values) {
            return new StreamOf<>(() -> values != null ? Arrays.stream(values) : Collections.<T> emptyList().stream());
        }
    
        public static StreamOf<String> split(final String value, final String regex) {
            return stream(value == null ? null : value.split(regex));
        }
    
        public static <K, V> StreamOf<Map.Entry<K, V>> stream(final Map<K, V> map) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

        @Test
        public void testPrefix() throws Exception {
            final CopyOptions option = new CopyOptions();
            assertThat(option.prefix(BeanNames.search_()), is(sameInstance(option)));
            assertThat(option.prefix, is("search_"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testBeanDelimiter() throws Exception {
            final CopyOptions option = new CopyOptions();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top