public boolean between ( final Interval < C > that , final Interval < C > other ) { checkNotNull ( this . range , that . range ) ; checkNotNull ( other . range ) ; return this . after ( that ) && this . before ( other ) ; }
Test if an interval is between two others .