public static boolean areElementsLessThanOrEqual ( LongTuple t , long value ) { for ( int i = 0 ; i < t . getSize ( ) ; i ++ ) { if ( t . get ( i ) > value ) { return false ; } } return true ; }
Returns whether all elements of the given tuple are less than or equal to the given value .