@Test public void theLengthShouldBeTheSameThanTheStringLength() { String myCode = "myCode"; assertThat(new CodeBuffer(myCode, new CodeReaderConfiguration()).length(), is(6)); }
@Override public final int length() { return buffer.length - bufferPosition; }
CodeBuffer implements CharSequence { @Override public final int length() { return buffer.length - bufferPosition; } }
CodeBuffer implements CharSequence { @Override public final int length() { return buffer.length - bufferPosition; } protected  CodeBuffer(String code, CodeReaderConfiguration configuration); protected  CodeBuffer(Reader initialCodeReader, CodeReaderConfiguration configuration); }
CodeBuffer implements CharSequence { @Override public final int length() { return buffer.length - bufferPosition; } protected  CodeBuffer(String code, CodeReaderConfiguration configuration); protected  CodeBuffer(Reader initialCodeReader, CodeReaderConfiguration configuration); final int pop(); final int lastChar(); final int peek(); final int getLinePosition(); final Cursor getCursor(); final int getColumnPosition(); final CodeBuffer setColumnPosition(int cp); final void setLinePosition(int lp); final void startRecording(); final CharSequence stopRecording(); @Override final char charAt(int index); @Override final int length(); @Override final CharSequence subSequence(int start, int end); @Override final String toString(); }
CodeBuffer implements CharSequence { @Override public final int length() { return buffer.length - bufferPosition; } protected  CodeBuffer(String code, CodeReaderConfiguration configuration); protected  CodeBuffer(Reader initialCodeReader, CodeReaderConfiguration configuration); final int pop(); final int lastChar(); final int peek(); final int getLinePosition(); final Cursor getCursor(); final int getColumnPosition(); final CodeBuffer setColumnPosition(int cp); final void setLinePosition(int lp); final void startRecording(); final CharSequence stopRecording(); @Override final char charAt(int index); @Override final int length(); @Override final CharSequence subSequence(int start, int end); @Override final String toString();  }