< prev index next >

src/hotspot/share/utilities/growableArray.hpp

Print this page
@@ -139,10 +139,18 @@
  
    bool operator!=(const GrowableArrayView<E>& rhs) const {
      return !(*this == rhs);
    }
  
+   E* data() {
+     return _data;
+   }
+ 
+   const E* data() const {
+     return _data;
+   }
+ 
    E& at(int i) {
      assert(0 <= i && i < _len, "illegal index");
      return _data[i];
    }
  
< prev index next >