Set<Short> set = new HashSet<>();
short one = 1;
set.add(one);

set.remove(1); // warning: Unlikely argument type int for remove(Object) on a Collection<Short>