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.
2014: NFL Cheerleaders [PHOTOS]
LeBron James reveals his new Nike shoes