Tabnine Logo
AbstractModule$ReaderHelper.pushBack
Code IndexAdd Tabnine to your IDE (free)

How to use
pushBack
method
in
org.jfree.base.modules.AbstractModule$ReaderHelper

Best Java code snippets using org.jfree.base.modules.AbstractModule$ReaderHelper.pushBack (Showing top 9 results out of 315)

origin: jfree/jcommon

reader.pushBack(lastLineRead);
return;
origin: org.jfree/com.springsource.org.jfree

reader.pushBack(lastLineRead);
return;
origin: org.jfree/jcommon

reader.pushBack(lastLineRead);
return;
origin: org.jfree/jcommon

reader.pushBack(lastLineRead);
return mi;
origin: jfree/jcommon

reader.pushBack(lastLineRead);
return mi;
origin: org.jfree/com.springsource.org.jfree

reader.pushBack(lastLineRead);
return mi;
origin: org.jfree/com.springsource.org.jfree

/**
 * Checks, whether the next line in the reader is a value line.
 * 
 * @param reader from where to read the lines.
 * @return true, if the next line is a value line, false otherwise.
 * @throws IOException if an IO error occurs.
 */
private boolean isNextLineValueLine (final ReaderHelper reader) throws IOException
{
 if (reader.hasNext() == false)
 {
  return false;
 }
 final String firstLine = reader.next();
 if (firstLine == null)
 {
  return false;
 }
 if (parseKey(firstLine) != null)
 {
  reader.pushBack(firstLine);
  return false;
 }
 reader.pushBack(firstLine);
 return true;
}
origin: org.jfree/jcommon

/**
 * Checks, whether the next line in the reader is a value line.
 *
 * @param reader from where to read the lines.
 * @return true, if the next line is a value line, false otherwise.
 * @throws IOException if an IO error occurs.
 */
private boolean isNextLineValueLine (final ReaderHelper reader) throws IOException
{
 if (reader.hasNext() == false)
 {
  return false;
 }
 final String firstLine = reader.next();
 if (firstLine == null)
 {
  return false;
 }
 if (parseKey(firstLine) != null)
 {
  reader.pushBack(firstLine);
  return false;
 }
 reader.pushBack(firstLine);
 return true;
}
origin: jfree/jcommon

/**
 * Checks, whether the next line in the reader is a value line.
 *
 * @param reader from where to read the lines.
 * @return true, if the next line is a value line, false otherwise.
 * @throws IOException if an IO error occurs.
 */
private boolean isNextLineValueLine (final ReaderHelper reader) throws IOException
{
 if (reader.hasNext() == false)
 {
  return false;
 }
 final String firstLine = reader.next();
 if (firstLine == null)
 {
  return false;
 }
 if (parseKey(firstLine) != null)
 {
  reader.pushBack(firstLine);
  return false;
 }
 reader.pushBack(firstLine);
 return true;
}
org.jfree.base.modulesAbstractModule$ReaderHelperpushBack

Javadoc

Pushes the given line back into the buffer. Only one line can be contained in the buffer at one time.

Popular methods of AbstractModule$ReaderHelper

  • <init>
    Creates a new reader helper for the given buffered reader.
  • close
    Closes the reader.
  • hasNext
    Checks, whether the reader contains a next line. Returns false if the end of the stream has been rea
  • next
    Returns the next line.
  • readLine
    Reads the next line skipping all comment lines.

Popular in Java

  • Updating database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now