Submitted by Joshua Bloch, an ARM block is a form of the try statement that declares one or more resources which are then limited to that statement.
由Joshua Bloch提交,一个AR M块是try语句的一种形式,声明若干个资源,并且限制在该语句中。
Joshua Bloch calls this failure atomicity: success or failure based on mutability is forever resolved once the object is constructed (see Resources).
Joshua Bloch将这称作失败的原子性:在已经构建对象后,这种基于不可变性的成功或是失败就是一锤定音的了(请参阅参考资料)。
Joshua Bloch calls this failure atomicity: success or failure based on mutability is forever resolved once the object is constructed (see Resources).
Joshua Bloch将这称作失败的原子性:在已经构建对象后,这种基于不可变性的成功或是失败就是一锤定音的了(请参阅参考资料)。
应用推荐