public boolean contains ( int want ) { if ( want < first ( ) ) return false ; if ( want > last ( ) ) return false ; if ( stride == 1 ) return true ; return ( want - first ) % stride == 0 ; }
Is want contained in this Range?