本文整理匯總了Java中com.esotericsoftware.kryo.util.IdentityMap類的典型用法代碼示例。如果您正苦於以下問題:Java IdentityMap類的具體用法?Java IdentityMap怎麽用?Java IdentityMap使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
IdentityMap類屬於com.esotericsoftware.kryo.util包,在下文中一共展示了IdentityMap類的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getOriginalToCopyMap
import com.esotericsoftware.kryo.util.IdentityMap; //導入依賴的package包/類
/** Returns the internal map of original to copy objects when a copy method is used. This can be used after a copy to map old
* objects to the copies, however it is cleared automatically by {@link #reset()} so this is only useful when
* {@link #setAutoReset(boolean)} is false. */
public IdentityMap getOriginalToCopyMap () {
return originalToCopy;
}