This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

criteriaFind equalsIgnorCase  RSS feed

 
Mike Birken
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The assignment asks for an exact match of the Strings. Do you think I can use equalsIgnorCase to avoid a search failure if the user enters the correct String in a different case?
- Mike
 
Todd Harney
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the GUI itself is the client and it will allow users to pick from select boxes and then format the criteria from there without the user even having to type anything...so just equals method seems fine to me, imho.
Thanks,
Todd
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!