| 825 | Array<ELEM_> filter(FilterFunc inFunc); |
| 826 | |
| 827 | void insert(int inPos, ELEM_ inValue) |
| 828 | { |
| 829 | if (inPos<0) |
| 830 | { |
| 831 | inPos+=length; |
| 832 | if (inPos<0) inPos = 0; |
| 833 | } |
| 834 | else if (inPos>length) |
| 835 | inPos = length; |
| 836 | hx::ArrayBase::Insert(inPos); |
| 837 | Item(inPos) = inValue; |
| 838 | #ifdef HXCPP_GC_GENERATIONAL |
| 839 | if (hx::ContainsPointers<ELEM_>()) |
| 840 | { HX_OBJ_WB_GET(this,hx::PointerOf(inValue)); } |
| 841 | #endif |
| 842 | } |
| 843 | |
| 844 | void unshift(ELEM_ inValue) |
| 845 | { |