public void add ( final int articleID , final int revisionCounter , final long timestamp ) { if ( this . articleID != articleID ) { if ( list != null ) { addToBuffer ( ) ; } this . articleID = articleID ; this . list = new ArrayList < ChronoIndexData > ( ) ; } this . list . add ( new ChronoIndexData ( timestamp , revisionCounter ) ) ; }
Adds the information for an new entry in the chrono index .