O'Neal had 23 points and 13 rebounds while Green totaled 18 and 10 for the Warriors, winners of three straight.
Stephen Curry had 17 points, eight assists and five rebounds.
Deron Williams paced the Nets with 20 points and six assists. Brooklyn lost for the second time in five games.
Celebrity Breakups and divorces of 2014 [PHOTOS]