| P | |
| pa_to_da, packed_array | |
| pa_to_q, packed_array | |
| pa_to_ua, packed_array | |
| partition, text | |
| pause, kitchen_timer | |
| peek, deque | |
| peek_first, deque | |
| peek_last, deque | |
| pop, deque | |
| prune, tree_node | |
| push, deque | |
| Q | |
| q_to_da | |
| q_to_pa, packed_array | |
| q_to_ua | |
| R | |
| random, data_stream | |
| random_bool, random_util | |
| 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 | |
| rjust, text | |
| rpartition, text | |
| rsplit, text | |
| rstrip, text |
(STATIC) Converts a packed array of type T to a dynamic array of the same type.
static function void pa_to_da( const ref pa_type pa, ref da_type da, input bit reverse = 0 )
(STATIC) Converts a packed array of type T to a queue of the same type.
static function void pa_to_q( const ref pa_type pa, ref q_type q, input bit reverse = 0 )
(STATIC) Converts a packed array of type T to an unpacked array of the same type.
static function void pa_to_ua( const ref pa_type pa, ref ua_type ua, input bit reverse = 0 )
(STATIC) Searches the first occurrence of the specified separator in the given string and returns an array of three strings.
static function three_strings partition( string s, string sep )
Pauses the timer.
function void pause()
(VIRTUAL) Retrieves the head of the deque but does not remove the element.
virtual function bit peek( ref T e )
(VIRTUAL) Retrieves the head of the deque but does not remove the element.
virtual function bit peek_first( ref T e )
(VIRTUAL) Retrieves the tail of the deque but does not remove the element.
virtual function bit peek_last( ref T e )
(VIRTUAL) Pops an element from the deque as if it is a stack.
virtual function T pop()
(VIRTUAL) Removes the specified child (and its descendants).
virtual function tree_node_type prune( int index = 0 )
(VIRTUAL) Pushes an element to the deque as if it is a stack.
virtual function void push( T e )
(STATIC) Converts a queue of type T to a dynamic array of the same type.
static function void q_to_da( const ref q_type q, ref da_type da, input bit reverse = 0 )
(STATIC) Converts a queue of type T to a dynamic array of the same type.
static function void q_to_da( const ref q_type q, ref da_type da, input bit reverse = 0 )
(STATIC) Converts a queue of type T to a packed array of the same type.
static function void q_to_pa( const ref q_type q, ref pa_type pa, input bit reverse = 0 )
(STATIC) Converts a queue of type T to an unpacked array of the same type.
static function void q_to_ua( const ref q_type q, ref ua_type ua, input bit reverse = 0 )
(STATIC) Converts a queue of type T to an unpacked array of the same type.
static function void q_to_ua( const ref q_type q, ref ua_type ua, input bit reverse = 0 )
(STATIC) Returns a new data stream with the elements whose values are randomized.
static function ds_type random( int unsigned length )
(STATIC) Returns a randomized Boolean value based on the specified percentage.
static function bit random_bool( int unsigned true_pct = 50 )
(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 )
(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" )