Package com.sun.corba.ee.impl.ior
Class IORTemplateListImpl
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- com.sun.corba.ee.impl.ior.FreezableList<IORTemplate>
-
- com.sun.corba.ee.impl.ior.IORTemplateListImpl
-
- All Implemented Interfaces:
IORFactory
,IORTemplateList
,MakeImmutable
,Writeable
,java.lang.Iterable<IORTemplate>
,java.util.Collection<IORTemplate>
,java.util.List<IORTemplate>
public class IORTemplateListImpl extends FreezableList<IORTemplate> implements IORTemplateList
-
-
Constructor Summary
Constructors Constructor Description IORTemplateListImpl()
IORTemplateListImpl(InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEquivalent(IORFactory other)
Return true iff this.makeIOR(orb,typeid,oid).isEquivalent( other.makeIOR(orb,typeid,oid) for all orb, typeid, and oid.void
makeImmutable()
IOR
makeIOR(ORB orb, java.lang.String typeid, ObjectId oid)
Construct an IOR containing the given ORB, typeid, and ObjectId.void
write(OutputStream os)
Write this object directly to the output stream.-
Methods inherited from class com.sun.corba.ee.impl.ior.FreezableList
add, equals, get, hashCode, isImmutable, makeElementsImmutable, remove, set, size, subList
-
Methods inherited from class java.util.AbstractList
add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-
-
-
Constructor Detail
-
IORTemplateListImpl
public IORTemplateListImpl()
-
IORTemplateListImpl
public IORTemplateListImpl(InputStream is)
-
-
Method Detail
-
makeImmutable
public void makeImmutable()
- Specified by:
makeImmutable
in interfaceMakeImmutable
- Overrides:
makeImmutable
in classFreezableList<IORTemplate>
-
write
public void write(OutputStream os)
Description copied from interface:Writeable
Write this object directly to the output stream.
-
makeIOR
public IOR makeIOR(ORB orb, java.lang.String typeid, ObjectId oid)
Description copied from interface:IORFactory
Construct an IOR containing the given ORB, typeid, and ObjectId. The same ObjectId will be used for all TaggedProfileTemplates in the IORFactory.- Specified by:
makeIOR
in interfaceIORFactory
- Parameters:
orb
- ORB to usetypeid
- typeid of IORoid
- objectId IOR- Returns:
- created IOR
-
isEquivalent
public boolean isEquivalent(IORFactory other)
Description copied from interface:IORFactory
Return true iff this.makeIOR(orb,typeid,oid).isEquivalent( other.makeIOR(orb,typeid,oid) for all orb, typeid, and oid.- Specified by:
isEquivalent
in interfaceIORFactory
- Parameters:
other
- factory to compare with- Returns:
- true if they are equivalent
-
-