After an owner dedicates land to public use either expressly or by his actions and the land is used by the public for such a length of time that accommodation of the public or private rights may be materially affected by interruption of the right to use such land, the owner may not afterwards appropriate the land to private purposes.