@Test public void shiftArray_InTheBeginning() { String[] array = createArray( "a", "b", "c" ); shiftArray( array, 0, 3, 3 ); assertArrayEquals( createArray( "a", "b", "c", "a", "b", "c" ), array ); }
static void shiftArray( Object[] array, int startIndex, int amount, int offset ) { System.arraycopy( array, startIndex, array, startIndex + offset, amount ); }
AbstractAlignmentProcessor implements TextAlignmentProcessor, LastLineTextAlignmentProcessor { static void shiftArray( Object[] array, int startIndex, int amount, int offset ) { System.arraycopy( array, startIndex, array, startIndex + offset, amount ); } }
AbstractAlignmentProcessor implements TextAlignmentProcessor, LastLineTextAlignmentProcessor { static void shiftArray( Object[] array, int startIndex, int amount, int offset ) { System.arraycopy( array, startIndex, array, startIndex + offset, amount ); } protected  AbstractAlignmentProcessor(); }
AbstractAlignmentProcessor implements TextAlignmentProcessor, LastLineTextAlignmentProcessor { static void shiftArray( Object[] array, int startIndex, int amount, int offset ) { System.arraycopy( array, startIndex, array, startIndex + offset, amount ); } protected  AbstractAlignmentProcessor(); boolean isLastLineAlignment(); int getPagebreakCount(); void initialize( final OutputProcessorMetaData metaData, final SequenceList sequence, final long start,
      final long end, final PageGrid breaks, final boolean overflowX ); void updateLineSize( final long start, final long end ); void deinitialize(); boolean hasNext(); RenderBox next(); void performLastLineAlignment(); void performSkipAlignment( final int endIndex ); }
AbstractAlignmentProcessor implements TextAlignmentProcessor, LastLineTextAlignmentProcessor { static void shiftArray( Object[] array, int startIndex, int amount, int offset ) { System.arraycopy( array, startIndex, array, startIndex + offset, amount ); } protected  AbstractAlignmentProcessor(); boolean isLastLineAlignment(); int getPagebreakCount(); void initialize( final OutputProcessorMetaData metaData, final SequenceList sequence, final long start,
      final long end, final PageGrid breaks, final boolean overflowX ); void updateLineSize( final long start, final long end ); void deinitialize(); boolean hasNext(); RenderBox next(); void performLastLineAlignment(); void performSkipAlignment( final int endIndex );  }