1

I have the following member in a class:

private boolean requireColons;

I am aware that the convention is to prefix all boolean getters with is but isRequireColons() doesn't make sense. How should I name this?

Michael Smith
  • 1,111
  • 1
  • 7
  • 26

1 Answers1

0

I would do

isColonsRequired

but if you're looking for the more grammatically correct (but less programmatically) alternative

areColonsRequired
axsuul
  • 7,163
  • 8
  • 52
  • 70