boolean function ( ) { long loc0 = System . currentTimeMillis ( ) ; for ( SentenceEvent loc1 : events ) { long loc2 = loc0 - loc1 . getTimeStamp ( ) ; if ( loc2 > 1000 ) { return false ; } } return isValid ( ) ; }
validates the collected sentences by checking the ages of each sentence and then by calling #isvalid . if extending implementation has no validation criteria , it should return always true . concode_field_sep List<SentenceEvent> events concode_elem_sep SentenceReader reader concode_elem_sep List<ProviderListener<T>> listeners concode_field_sep void fireProviderEvent concode_elem_sep void readingStopped concode_elem_sep boolean hasAll concode_elem_sep T createProviderEvent concode_elem_sep boolean isReady concode_elem_sep boolean isValid concode_elem_sep boolean hasOne concode_elem_sep void readingStarted concode_elem_sep void removeListener concode_elem_sep void readingPaused concode_elem_sep void reset concode_elem_sep void sentenceRead concode_elem_sep List<Sentence> getSentences concode_elem_sep void addListener