One possible solution if these are all related in some way is to store them in a Set of String objects. It is worth noting that this solution depends on each String being case sensitive.
Set<String> values = new HashSet<>(Arrays.asList("apple", "Health Poition", "roatisary chicken", "backpack"));
Then, check if set contains the String hh.getName()
if (values.contains(hh.getName()) {
}
A better solution
A potentially even better solution would be to use an enumeration instead of a bunch of Strings.
enum Item {
APPLE,
HEALTH_POTION,
ROATISARY_CHICKEN,
BACKPACK
}
Set<Item> items = ImmutableMap.copyOf(EnumSet.allOf(Item.class));
Item myItem = ...;
if (items.contains(myItem)) {
}