Not the others? Wang twice won 19 games, and Pettitte is one of the best postseason pitchers ever. I'll give you Chamberlain though, he's a question mark. But honestly, who has a better rotation top to bottom?
Without doing research on other teams I quickly compared the Yankees rotation to the Giants rotation and here's what I think:
Sabathia = Lincecum
Burnett = Randy Johnson - both injury prone but still dominant when healthy.
Cain >> Wang - if Cain were on the Yankees he would have a couple of 20 win seasons already because of run support.
Zito = Pettite
Sanchez = Chamberlain - Both young live arms with a ton of upside, but both inexperienced and unproven. Both started in bullpen as well and moved to a starting pitcher role last year.
So I would say the Giants rotation is equal if not slightly better with a brighter future. I'm sure there are other teams with better pitching.
"There's never enough time to do all the nothing you want." -Calvin and Hobbes