J. Barnes says: "Berkeley's argument is in direct line of descent from Parmenides” (The Presocratic Philosophers, p171). This sentence shows up right after he interpreted what Parmenides means by "For the same thing is there both to be thought of and to be". He adduces Berkeley’s argument for his notorious idealism : “ … surely there is nothing easier than to imagine trees, for instance, in a park, or books existing in a closet….but do not you yourself perceive or think of them all the while?”
Is Barnes as quoted above accurate that Parmenides argues for the same thing and in the same way as Berkeley does through those words?