简体   繁体   English

什么是“规范表”?

[英]What's the 'canonical table'?

“规范表是什么?我找不到它的描述。任何人都可以提供示例吗?”

Are you reading Java Performance Tuning ? 您正在阅读Java Performance Tuning吗? I saw those concepts in there. 我在那里看到了那些概念。

A canonical object means an object with a single reference pointed to it, with no copies holding the same state possible. 规范对象指的是指向单个引用的对象,没有任何副本可以保持相同的状态。

The activity of replacing multiple copies of an object with just a few objects is often referred to as canonicalizing objects. activity of replacing multiple copies of an object with just a few objects is often referred to as canonicalizing objects.activity of replacing multiple copies of an object with just a few objects is often referred to as canonicalizing objects.

For example Boolean, could have been canocalized, but it were not because new objects can be created with new, thus it's possible to create more than one instance with the same state. 例如Boolean,本可以使用canocalized,但这不是因为可以用new创建新对象,因此可以创建多个具有相同状态的实例。

A Canonical Lookup Table is some sort of cache containing references to those canonical object pool. 规范查询表是某种高速缓存,其中包含对那些规范对象池的引用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Java 中的术语“规范形式”或“规范表示”是什么意思? - What does the term “canonical form” or “canonical representation” in Java mean? 在java中,在运行时通过唯一特征(完全限定名称/ ID /)在运行时访问类及其方法的正确/规范方法是什么 - In java, What is the proper/canonical way to access a class and it’s methods at runtime by a unique trait (fully qualified name/ID/) at runetime 测试生成的HTML代码的规范方法是什么? - What is the canonical way to test generated HTML code? 如果解析失败,取消表格单元格编辑的规范方法 - Canonical way to cancel a table cell edit if parse fails 有没有办法通过反射识别 Java 16 记录的规范构造函数? - Is there a way to recognise a Java 16 record's canonical constructor via reflection? 什么是用于equals()方法的字段的“规范表示”(Joshua Bloch) - What is a 'canonical representation' of a field meant to be for equals() method (Joshua Bloch) Android为表格数据创建布局的规范方法是什么? - Android what is the canonical way of creating a layout for tabular data? 转换范围的规范方法是什么 <T> 进入列表 <T> ? - What is the canonical way to transform a Range<T> into a List<T>? 我的表格(SQLite)有什么问题? - What's wrong with my table (SQLite)? eclipse pref table的类别是什么 - What's the class of eclipse pref table
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM