📄 objectadapteridnumber.java
字号:
/* * @(#)ObjectAdapterIdNumber.java 1.8 05/11/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.corba.se.impl.ior ;import java.util.Iterator ;import org.omg.CORBA_2_3.portable.OutputStream ;/** ObjectAdapterIdNumber is used to represent pre-JDK 1.4 POA adapter * IDs. The POA ID was simply represented as a single integer, which was * mapped to the actual POA instance. Here, we just represent these * internally as arrays of the form { "OldRootPOA", "<number>" }, * and provide an extra method to get the number back. */public class ObjectAdapterIdNumber extends ObjectAdapterIdArray { private int poaid ; public ObjectAdapterIdNumber( int poaid ) { super( "OldRootPOA", Integer.toString( poaid ) ) ; this.poaid = poaid ; } public int getOldPOAId() { return poaid ; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -