Here\'s my problem - I\'m looking for (if it even exists) the enum equivalent of ArrayList.contains();.
ArrayList.contains();
Here\'s a sample of my code problem:
<
With guava it's even simpler:
boolean isPartOfMyEnum(String myString){ return Lists.newArrayList(MyEnum.values().toString()).contains(myString); }