• + 0 comments

    Sometimes i forget some function can turn it much more simple. Here is in Java 8

    Collections.reverse(a);
    return a;