public < V > boolean contains ( IndexDefinition < T , V > indexDefinition , V value ) { FieldIndex < T , V > index = ( FieldIndex < T , V > ) mIndices . get ( indexDefinition ) ; if ( index == null ) { throw new IllegalStateException ( "the given index isn't defined for this IndexedSet" ) ; } return index . containsField ( value ) ; }
Whether there is an object with the specified index field value in the set .