private synchronized void drawSprites(Vector spriteVector) { for (int i = 0; i < spriteVector.size(); i++) { final Sprite sprite = (Sprite)spriteVector.get(i);
private synchronized void drawSprites(Vector<? extends Sprite> spriteVector) { for (Sprite sprite : spriteVector) {
    private synchronized void drawSprites(Vector spriteVector) {        for (int i = 0; i < spriteVector.size(); i++) {            final Sprite sprite = (Sprite)spriteVector.get(i);            drawSprite(sprite);        }    }