Invalid index 0, size is 0 for a list in Android : My problem is java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

    private List<List<Restaurant.Menu>> menus = new ArrayList<>();
    menus.get(0).get(0).setMenuName("asasdasd");

I created a setter for error but it still has a problem. I need to add approximately 100 menu name, 1000 foodName and 1000 foodPrize. How can I solve it ? 


    public class Restaurant
    {
    @SerializedName("cacheVersion")
    @Expose
    public String cacheVersion;
    @SerializedName("id")
    @Expose
    public Integer id;
    @SerializedName("name")
    @Expose
    public String name;
    @SerializedName("desc")
    @Expose
    public String desc;
    @SerializedName("phones")
    @Expose
    public List<String> phones = null;
    @SerializedName("menus")
    @Expose
    public List<Menu> menus = null;
    @SerializedName("image")
    @Expose
    public String image;


    public class Menu
    {
        @SerializedName("name")
        @Expose
        public String name;
        @SerializedName("foods")
        @Expose
        public List<Food> foods = null;

        public void setMenuName(String namex)
        {
            this.name = namex;
        }
    }


    public class Food
    {
        @SerializedName("name")
        @Expose
        public String name;
        @SerializedName("desc")
        @Expose
        public String desc;
        @SerializedName("price")
        @Expose
        public String price;
    }
    }