private int currentSequence ( String name ) { Map < String , Integer > sequencesForClass = sequences . get ( getClass ( ) ) ; if ( sequencesForClass == null ) { sequencesForClass = new HashMap < String , Integer > ( ) ; sequences . put ( getClass ( ) , sequencesForClass ) ; } Integer seq = sequencesForClass . get ( name ) ; seq = seq == null ? 1 : seq + 1 ; sequencesForClass . put ( name , seq ) ; return seq ; }
Retrieve the current sequence value for the given property .