Another subclass of reference, soft references, fulfills a different but related purpose.
Reference的另一个子类——软引用——可满足一个不同却相关的目的。
Softly reachable: an object that is not strongly reachable and can be accessed through a soft reference.
软可及对象(softly reachable):不是强可及对象,并且能够通过软引用访问的对象。
From above shall we say that an object can't have a soft reference and a weak reference at the same time?
从以上是否能看出,一个对象不能同时具有软引用和弱引用?
应用推荐