Enterprise-y
YesNoFactory.getFactoryInstance().YES.getDescription().equals(array[0].toUpperCase()); Taking a Good Thing Too Far - Worse Than Failure
More of a programming nerd than is strictly healthy. See also {nevyn.nu, thirdcog.eu, twitter}
YesNoFactory.getFactoryInstance().YES.getDescription().equals(array[0].toUpperCase());