public interface Copyable<T>
T copy()
x, the expression:
will be true, and that the expression:x.copy() != x
will bex.copy().getClass() == x.getClass()
true, but these are not absolute requirements.
While it is typically the case that:
will bex.copy().equals(x)
true, this is not an absolute requirement.
Copyright © 2016. All Rights Reserved.