imglib / imglib2-roi

Regions of interest (ROIs) and labelings for ImgLib2
Other
8 stars 8 forks source link

Rename BinaryMaskOperator -> MaskBinaryOperator #42

Open ctrueden opened 5 years ago

ctrueden commented 5 years ago

The class java.util.function.IntBinaryOperator is a conceptual specialization of java.util.function.BinaryOperator that operates on two int primitives and returns an int primitive. To stay consistent with this naming, we should call the BinaryOperator specialization that works on Masks a MaskBinaryOperator, rather than BinaryMaskOperator which is like a split infinitive.