public boolean isInRange(int index){
  if (m_Upper == -1) {
    throw new RuntimeException("No upper limit has been specified for range");
  }
  if (m_Invert) {
    return !m_SelectFlags[index];
  }
 else {
    return m_SelectFlags[index];
  }
}

public boolean isInRange ( int index ) { if ( m_Upper == - 1 ) { throw new RuntimeException ( "No upper limit has been specified for range" ) ; } if ( m_Invert ) { return ! m_SelectFlags [ index ] ; } else { return m_SelectFlags [ index ] ; } }
gets whether the supplied cardinal number is included in the current range .
