docs: private static <T extends Comparable<? super T>>
      T median( T[] arr, int left, int right )
      {
          int center = ( left + right ) / 2;
          
          if ( arr[left].compareTo( arr[center] ) > 0 )
              swapReferences( arr, left, center );
          if ( arr[left].compareTo( arr[right] ) > 0 )
              swapReferences( arr, left, right );
          if ( arr[center].compareTo( arr[right] ) > 0 )
              swapReferences( arr, center, right );
          
          swapReferences( arr, center, right - 1 );
          return arr[ right - 1 ];
      }