Java Basics Part 7/20 - Modifier Types

Java Basics Part 7/20 - Modifier Types

目录


Java 语言中游很多的修饰符,包括:


访问控制修饰符

Java 为 类,变量,方法和构造器 提供了很多的访问控制修饰符来设置它们的访问级别。一共有 4 种访问界别:

  • 不加任何访问控制符,默认级别:对包可见
  • private 修饰符:只对本类可见
  • public 修饰符:对所有人可见
  • protected 修饰符:对包和所有的子类可见

非访问控制修饰符

Java 提供了很多非访问控制修饰符来实现很多其他的功能

  • static 修饰符: 创建类方法和类变量
  • final 修饰符: finalize 所有的类、方法和变量 (不希望别人再做扩展)
  • abstract 修饰符:创建抽象类和抽象方法
  • synchronized 和 volatile 修饰符:用于线程
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Chamfer the right way The Quad Chamfer modifier produces all quad chamfers, unlike the normal 3ds Max chamfer which produces a lot of triangles and ngons. It is the successor of the Quad Chamfer maxscript, improving on by: Speed. Being a native c++ plugin now it allows you to modify chamfers in real time. Control. You can determine the look of your chamfers by controlling their sharpness/roundness. Robustness. A robust new algorithm allows you to chamfer any edge combinations without unpredictable results. Flexibility. You don’t have to commit to any chamfer, you can always change them later. Workflow. Besides using edge selection you can chamfer by smoothing group boundaries or edge weights. This way you can edit the underlying topology without losing or destroying your chamfers. Also chamfering by edge weights allows to have variable widths on your chamfers. Here are some of the benefits you get: You get better results if you use Quad Chamfer in conjunction with turbosmooth No more unwanted pinching Great topology You can control the sharpness/roundness of your chamfers You don’t have to commit to any chamfer, you can change them anytime And many more other benefits over the normal chamfer and quad chamfer maxscript Situations in which you would want to use the Quad Chamfer modifier: When you want to chamfer edges without producing triangles or n-gons. When you want to chamfer edges without having artifacts after you apply a TurboSmooth modifier. When you want to add support loops without using the connect or the swift tool.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值