But as far it goes as I'm not sure we in the pro-REST community have a good general answer or design pattern for partially updating a resource.
但是到目前为止我并不确认在我们支持REST的社区阵营里对于部分的更新资源已经有了一个很好的普遍答案或是设计模式。
Since it is thread safe by design, you might cache it in a public static final variable, or wrap it in a singleton pattern after creation for later access.
因为根据设计它是线程安全的,创建它之后可以把它缓存在一个公共静态最终变量中,或者包装在单实例模式中以供以后访问。
In 3-d graphics parlance, a texture is an image applied to a design area like wallpaper pattern: the image is repeated or cut as needed to cover the surface.
在3 - d图形用语中,纹理是指像墙纸模式一样应用到某个设计区域的图像:该图像可以重复,也可以根据需要裁剪,以覆盖平面。
应用推荐