public static < E extends Comparable < E > > Interval < E > toValidInterval ( E a , E b ) { return toValidInterval ( a , b , 0 ) ; }
Create an interval with the specified endpoints reordering them as needed