public List < String > getFilteredIndexList ( String containedString ) { return getAllIndices ( ) . stream ( ) . filter ( index -> index . contains ( containedString ) ) . collect ( toList ( ) ) ; }
Gets filtered index list .