How to get a sub array of array in Java, without copying data? -


I have some libraries of classes that work with my data, which are being read in buffer. Is it possible to save the array repeatedly with copy, some parts of the data have to go deeper and deeper in processing methods? Well, it sounds weird, but in my special case, there is a special writer who divides the data into blocks and writes them individually at different places, so it only performs the system. Arrayopy, what he wants and calls the underlying writer with that new sub array and this is often what is the best way to rebuild this kind of code?

Many classes in Java accept a subset of arrays. Like Writer. Written (Four CABF [], Int Close, Int Lane) Maybe it's already enough for your use.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -