taggedprofiletemplatebase.java

来自「JAVA的一些源码 JAVA2 STANDARD EDITION DEVELO」· Java 代码 · 共 49 行

JAVA
49
字号
/* * @(#)TaggedProfileTemplateBase.java	1.4 03/12/19 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.corba.se.spi.ior;import java.util.Iterator ;import org.omg.CORBA_2_3.portable.OutputStream ;import com.sun.corba.se.spi.orb.ORB ;import com.sun.corba.se.impl.ior.EncapsulationUtility ;public abstract class TaggedProfileTemplateBase     extends IdentifiableContainerBase     implements TaggedProfileTemplate{       public void write( OutputStream os )    {	EncapsulationUtility.writeEncapsulation( this, os ) ;    }    public org.omg.IOP.TaggedComponent[] getIOPComponents( ORB orb, int id )    {	int count = 0 ;	Iterator iter = iteratorById( id ) ;	while (iter.hasNext()) {	    iter.next() ;	    count++ ;	}	org.omg.IOP.TaggedComponent[] result = new	    org.omg.IOP.TaggedComponent[count] ;	int index = 0 ;	iter = iteratorById( id ) ;	while (iter.hasNext()) {	    TaggedComponent comp = (TaggedComponent)(iter.next()) ;	    result[index++] = comp.getIOPComponent( orb ) ;	}	return result ;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?