| R | |
| random, data_stream | |
| Random Number Generators | |
| random_16_bin_num | |
| random_2_bin_num | |
| random_32_bin_num | |
| random_4_bin_num | |
| random_8_bin_num | |
| random_bool, random_util | |
| random_power_of_10_num | |
| random_power_of_2_num | |
| random_util | |
| relatives | |
| remove | |
| remove_all | |
| remove_first, deque | |
| remove_first_occurrence, deque | |
| remove_last, deque | |
| remove_last_occurrence, deque | |
| replace, text | |
| reset, kitchen_timer | |
| resume, kitchen_timer | |
| retain_all, collection | |
| reverse | |
| rfind_any, text | |
| rindex, text | |
| ring, kitchen_timer | |
| rjust, text | |
| root, tree | |
| route | |
| route_breadth_first_iterator | |
| route_node | |
| route_node_type | |
| route_type | |
| rpartition, text | |
| rsplit, text | |
| rstrip, text |
(STATIC) Returns a new data stream with the elements whose values are randomized.
static function ds_type random( int unsigned length )
Provides a random number using sixteen distribution bins.
class random_16_bin_num
Provides a random number using two distribution bins.
class random_2_bin_num
Provides a random number using thirty-two distribution bins.
class random_32_bin_num
Provides a random number using four distribution bins.
class random_4_bin_num
Provides a random number using eight distribution bins.
class random_8_bin_num
(STATIC) Returns a randomized Boolean value based on the specified percentage.
static function bit random_bool( int unsigned true_pct = 50 )
Provides a random number with power-of-ten distributions.
class random_power_of_10_num extends random_16_bin_num
Provides a random number with power-of-two distributions.
class random_power_of_2_num extends random_32_bin_num
Provides a utility function to generate random numbers.
class random_util
The route nodes this route node is related to.
route_node_type relatives[$]
The tree nodes this tree node is related to.
tree_node_type relatives[$]
(VIRTUAL) Removes the specified element from this collection.
virtual function bit remove( T e )
(VIRTUAL) Removes the specified element from this deque.
virtual function bit remove( T e )
(VIRTUAL) Removes the last element returned by the iterator.
virtual function void remove()
(VIRTUAL) Removes the last element returned by the iterator.
virtual function void remove()
(PURE) (VIRTUAL) Removes the last element returned by the iterator.
pure virtual function void remove()
(VIRTUAL) Removes the last element returned by the iterator.
virtual function void remove()
(VIRTUAL) Removes the given element from this set if it is present.
virtual function bit remove( T e )
(VIRTUAL) Removes the last element returned by the iterator.
virtual function void remove()
(VIRTUAL) Removes the last element returned by the iterator.
virtual function void remove()
(VIRTUAL) Removes the elements in the given collection from this collection.
virtual function bit remove_all( collection#( T ) c )
(VIRTUAL) Removes the elements in the given collection from this set.
virtual function bit remove_all( collection#(T) c )
(VIRTUAL) Removes the first element from this deque.
virtual function bit remove_first()
(VIRTUAL) Removes the first occurrence of the specified element by traversing the deque from head to tail.
virtual function bit remove_first_occurrence( T e )
(VIRTUAL) Removes the last element from this deque.
virtual function bit remove_last()
(VIRTUAL) Removes the last occurrence of the specified element by traversing the deque from tail to head.
virtual function bit remove_last_occurrence( T e )
(STATIC) Returns a copy of the given string with the specified string replaced with a new string.
static function string replace( string s, string old_str, string new_str, int count = -1 )
Resets the timer.
function void reset()
Resumes the timer, if the timer was paused.
function void resume()
(VIRTUAL) Retains only the elements in this collection that are contained in the specified collection.
virtual function bit retain_all( collection#( T ) c )
(STATIC) Reverses the order of the elements of the given dynamic array.
static function void reverse( ref da_type da )
(STATIC) Reverses the order of the elements of the given packed array.
static function void reverse( ref pa_type pa )
(STATIC) Reverses the order of the elements of the given queue.
static function void reverse( ref q_type q )
(STATIC) Returns a copy of the given string with the characters in reverse order.
static function string reverse( string s )
(STATIC) Reverses the order of the elements of the given unpacked array.
static function void reverse( ref ua_type ua )
(STATIC) Returns the highest index in the given string where each specified substring is found.
static function int rfind_any( string s, string_q subs, int start_pos = 0, int end_pos = -1 )
(STATIC) Returns the index of the last occurrence of the specified substring in the given string within the optionally specified range.
static function int rindex( string s, string sub, int start_pos = 0, int end_pos = -1 )
(STATIC) Returns a string of the specified width with the given string right justified and padded with the specified character.
static function string rjust( string s, int width, byte fill_char = " ", bit trim_left = 0 )
The root node of the tree.
tree_node_type root
Implements a route structure.
class route #( type T = int ) extends collection#( T )
Provides a breadth-first iterator to a route.
class route_breadth_first_iterator #( type T = int ) extends iterator#( T )
Implements a node of a route.
class route_node #( type T = int )
The shorthand of the route_node type specialized with type T.
typedef route_node#( T ) route_node_type
The shorthand of the route_node type specialized with type T.
typedef route_node#( T ) route_node_type
The shorthand of the route node type specialized with type T.
typedef route_node#( T ) route_node_type
The shorthand of the route type specialized with type T.
typedef route#( T ) route_type
The shorthand of the route type specialized with type T.
typedef route#( T ) route_type
(STATIC) Searches the last occurrence of the specified separator in the given string and returns an array of three strings.
static function three_strings rpartition( string s, string sep )
(STATIC) Returns a queue of substrings by dividing the given string by the specified separator from the right.
static function string_q rsplit( string s, string sep = "", int max_split = -1 )
(STATIC) Returns a copy of the given string with trailing characters removed.
static function string rstrip( string s, string chars = " \t\n" )