@SuppressWarnings("unchecked")
    public static List<Long> getAt(long[] array, IntRange range) {
        RangeInfo info = subListBorders(array.length, range);
        List<Long> answer = primitiveArrayGet(array, new IntRange(true, info.from, info.to - 1));
        return info.reverse ? reverse(answer) : answer;
    }
@ SuppressWarnings ( "unchecked" ) public static List < Long > getAt ( long [ ] array , IntRange range ) { RangeInfo info = subListBorders ( array . length , range ) ; List < Long > answer = primitiveArrayGet ( array , new IntRange ( true , info . from , info . to - 1 ) ) ; return info . reverse ? reverse ( answer ) : answer ; }
Support the subscript operator with an IntRange for a long array

@param array a long array
@param range an IntRange indicating the indices for the items to retrieve
@return list of the retrieved longs
@since 1.0