Suppose there are two lists:
List<TestObject> testObject1 = new ArrayList<>(); List<TestObject> testObject2 = new ArrayList<>(); Internal objects can be repeated.
Can I make sure that these duplicate objects are not duplicated in memory?
That is, occupied one memory area instead of two?