Returns true when type equals this generator's itemType. (Java had this inverted — != — and that bug is corrected here.)
!=