Charles Oakley just compared Knicks owner James Dolan to disgraced ex-Clippers owner Donald Sterling -- but stopped short of calling him a full-blown racist.

Oakley was asked about Draymond Green's claim that Dolan has a "slave master mentality" -- and while Charles wouldn't definitely agree with the term ... he didn't say Green was wrong either.

Oakley sounded off on "SI Now" and said he predicts the Knicks "will end up the same way as the Clippers" -- clearly insinuating that Dolan will be run out of town a la Sterling.