Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for readLine (0.27 sec)

  1. src/main/java/org/codelibs/core/io/LineIterator.java

            assertArgumentNotNull("reader", reader);
            this.reader = reader;
        }
    
        @Override
        public boolean hasNext() {
            if (line == EMPTY) {
                line = ReaderUtil.readLine(reader);
            }
            return line != null;
        }
    
        @Override
        public String next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ReaderUtil.java

         * @return 一行の文字列。終端に達した場合は{@literal null}
         * @see BufferedReader#readLine()
         */
        public static String readLine(final BufferedReader reader) {
            assertArgumentNotNull("reader", reader);
    
            try {
                return reader.readLine();
            } 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
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/ArrayMap.java

        @Override
        public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException {
            final int num = in.readInt();
            mapTable = new Entry[num];
            listTable = new Entry[num];
            threshold = (int) (num * LOAD_FACTOR);
            final int size = in.readInt();
            for (int i = 0; i < size; i++) {
                final K key = (K) in.readObject();
                final V value = (V) in.readObject();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/core/collection/SLinkedList.java

            }
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public void readExternal(final ObjectInput s) throws IOException, ClassNotFoundException {
            final int size = s.readInt();
            header = new Entry(null, null, null);
            header.next = header;
            header.previous = header;
            for (int i = 0; i < size; i++) {
                addLast((E) s.readObject());
            }
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11K bytes
    - Viewed (1)
Back to top