Java vector elementat firstelement lastelement