There is a simple class:
class Foo { private Set one = new HashSet<>(); private Set two = new HashSet<>();