public boolean add ( ConceptMap answer , ConceptMap answerIndex ) { Index ind = Index . of ( answerIndex . vars ( ) ) ; if ( ind . equals ( index ) ) { return indexedAnswers . put ( answerIndex , answer ) ; } throw new IllegalStateException ( "Illegal index: " + answerIndex + " indices: " + index ) ; }
add answer with specific index