@Override
        public Value getOrNilValue(int index)
        {
            if (index < list.size() && index >= 0)
            {
                return list.get(index);
            }
            return ImmutableNilValueImpl.get();
        }
Implementation of the msgpack mutable array

@author Alex Shvid
protostuff-msgpack/src/main/java/io/protostuff/MsgpackGenerator.java