#include <growableArray.hpp>
Inheritance diagram for GrowableArray< E >:
Public Member Functions | |
GrowableArray (int initial_size, bool on_C_heap=false) | |
GrowableArray (int initial_size, int initial_len, E filler, bool on_C_heap=false) | |
GrowableArray () | |
void | append (const E elem) |
E | at (int i) const |
E | first () const |
E | last () const |
void | push (const E elem) |
E | pop () |
E | top () const |
void | at_put (int i, const E elem) |
E | at_grow (int i) |
void | at_put_grow (int i, const E elem) |
void | apply (Closure< E > *c) const |
bool | contains (const E elem) const |
int | find (const E elem) const |
int | find (void *token, bool f(void *, E)) const |
void | remove (const E elem) |
void | apply (void f(E)) const |
GrowableArray< E > * | copy () const |
void | appendAll (GrowableArray< E > *l) |
void | sort (int f(E *, E *)) |
Definition at line 65 of file growableArray.hpp.
GrowableArray< E >::GrowableArray | ( | int | initial_size, | |
bool | on_C_heap = false | |||
) | [inline] |
Definition at line 67 of file growableArray.hpp.
GrowableArray< E >::GrowableArray | ( | int | initial_size, | |
int | initial_len, | |||
E | filler, | |||
bool | on_C_heap = false | |||
) | [inline] |
Definition at line 68 of file growableArray.hpp.
GrowableArray< E >::GrowableArray | ( | ) | [inline] |
Definition at line 69 of file growableArray.hpp.
void GrowableArray< E >::append | ( | const E | elem | ) | [inline] |
Definition at line 71 of file growableArray.hpp.
Referenced by contextOopDesc::chain_length(), FlatProfiler::print(), byteArrayPrettyPrintStream::print_char(), GrowableArray< messageNode * >::push(), IC::receiver_klasses(), and Reflection::register_class_changes().
void GrowableArray< E >::appendAll | ( | GrowableArray< E > * | l | ) | [inline] |
Definition at line 125 of file growableArray.hpp.
void GrowableArray< E >::apply | ( | void | f(E) | ) | const [inline] |
Definition at line 123 of file growableArray.hpp.
void GrowableArray< E >::apply | ( | Closure< E > * | c | ) | const [inline] |
Definition at line 115 of file growableArray.hpp.
E GrowableArray< E >::at | ( | int | i | ) | const [inline] |
Definition at line 76 of file growableArray.hpp.
Referenced by StackChunkBuilder::append(), byteArrayPrettyPrintStream::asByteArray(), TokenStream::current(), Processes::deoptimize_wrt(), MethodPrettyPrinter::dll_call_node(), interpretedVFrame::expression_stack(), InliningDatabase::file_in_from(), Reflection::find_change_for(), WeakArrayRegister::follow_contents(), MethodPrinterClosure::indent(), Reflection::invalidate_classes(), codeNode::last_statement(), WeakArrayRegister::mark_sweep_check_for_dying_objects(), Reflection::needs_schema_change(), oopFactory::new_objArray(), MarkSweep::next_hcode_offset(), MethodPrettyPrinter::normal_send(), scopeNode::params(), PRIM_DECL_1(), cascadeSendNode::print(), dllNode::print(), objArrayNode::print(), codeNode::print(), listNode::print(), FlatProfiler::print(), ObjectHistogram::print(), frame::print_for_deoptimization(), scopeNode::print_frame_header(), print_selector_with_arguments(), scan_key(), Reflection::setup_schema_change(), MethodPrettyPrinter::special_send(), scopeNode::temps(), memConverter::transfer(), Reflection::update_classes(), objArrayNode::width(), codeNode::width(), listNode::width(), and messageNode::width_send().
E GrowableArray< E >::at_grow | ( | int | i | ) | [inline] |
Definition at line 105 of file growableArray.hpp.
void GrowableArray< E >::at_put | ( | int | i, | |
const E | elem | |||
) | [inline] |
Definition at line 100 of file growableArray.hpp.
void GrowableArray< E >::at_put_grow | ( | int | i, | |
const E | elem | |||
) | [inline] |
Definition at line 110 of file growableArray.hpp.
bool GrowableArray< E >::contains | ( | const E | elem | ) | const [inline] |
Definition at line 119 of file growableArray.hpp.
GrowableArray<E>* GrowableArray< E >::copy | ( | ) | const [inline] |
Definition at line 124 of file growableArray.hpp.
int GrowableArray< E >::find | ( | void * | token, | |
bool | f(void *, E) | |||
) | const [inline] |
Definition at line 121 of file growableArray.hpp.
int GrowableArray< E >::find | ( | const E | elem | ) | const [inline] |
E GrowableArray< E >::first | ( | ) | const [inline] |
Definition at line 81 of file growableArray.hpp.
E GrowableArray< E >::last | ( | ) | const [inline] |
Definition at line 86 of file growableArray.hpp.
Referenced by GrowableArray< messageNode * >::top().
E GrowableArray< E >::pop | ( | ) | [inline] |
Definition at line 93 of file growableArray.hpp.
Referenced by MethodPrettyPrinter::_pop(), and create_rscope().
void GrowableArray< E >::push | ( | const E | elem | ) | [inline] |
Definition at line 91 of file growableArray.hpp.
Referenced by MethodPrettyPrinter::_push(), inlinedBlockNode::add(), codeNode::add(), listNode::add(), MarkSweep::add_hcode_offset(), cascadeSendNode::add_message(), dllNode::add_param(), messageNode::add_param(), deltaVFrame::arguments(), memConverter::compute_mapping(), create_rscope(), MethodPrettyPrinter::dll_call_node(), interpretedVFrame::expression_stack(), PrintTemps::heap_temp(), WeakArrayRegister::mark_sweep_register(), MethodPrettyPrinter::normal_send(), objArrayNode::objArrayNode(), ObjectHistogram::ObjectHistogram(), PrintParams::parameter(), PRIM_DECL_1(), PRIM_DECL_2(), scopeNode::print_method_header(), scan_key(), MethodPrettyPrinter::special_send(), PrintTemps::stack_temp(), and TokenStream::tokenize().
void GrowableArray< E >::remove | ( | const E | elem | ) | [inline] |
Definition at line 122 of file growableArray.hpp.
void GrowableArray< E >::sort | ( | int | f(E *, E *) | ) | [inline] |
Definition at line 126 of file growableArray.hpp.
Referenced by PRIM_DECL_1(), FlatProfiler::print(), and ObjectHistogram::print().
E GrowableArray< E >::top | ( | ) | const [inline] |
Definition at line 98 of file growableArray.hpp.
Referenced by MethodPrettyPrinter::_top(), and create_rscope().