不幸的是,它同时也意味着该属性也能够被相同包下面的其他的类直接访问,这违反了标准的面向对象的使所有属性私有的原则。
Unfortunately this means the fields can be accessed directly by other classes in the same package, so you shouldn't use this in public API.
你们马上要看到我在一些代码中,违反了这个原则,会因此嘲笑我,which,Professor,Guttag,is,going,to,因为我没有通过访问器来做,但是,他确实是对的,一个优秀的,健康的。
What you're going to see in a second I violated in some of my code, Guttag yell at me shortly because I should have done it through accessors, but, he's exactly right.
反对者担心,遵守中国法律,直接违反了公司的使命——“整合全球信息,使人人皆可访问并从中受益”。
They fretted that complying with China's laws directly breached the company's mission: "to organise the world's information and make it universally accessible and useful".
当修改本身实际上相反地影响了网路的运行,或者违反了网路通信的规则和协定时,网路访问可以被拒绝。
Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
当修改本身实际上相反地影响了网路的运行,或者违反了网路通信的规则和协定时,网路访问可以被拒绝。
Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
应用推荐