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 booleanisEquivalent(IORFactory other)Return true iff this.makeIOR(orb,typeid,oid).isEquivalent( other.makeIOR(orb,typeid,oid) for all orb, typeid, and oid.voidmakeImmutable()IORmakeIOR(ORB orb, java.lang.String typeid, ObjectId oid)Construct an IOR containing the given ORB, typeid, and ObjectId.voidwrite(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:
makeImmutablein interfaceMakeImmutable- Overrides:
makeImmutablein classFreezableList<IORTemplate>
-
write
public void write(OutputStream os)
Description copied from interface:WriteableWrite this object directly to the output stream.
-
makeIOR
public IOR makeIOR(ORB orb, java.lang.String typeid, ObjectId oid)
Description copied from interface:IORFactoryConstruct an IOR containing the given ORB, typeid, and ObjectId. The same ObjectId will be used for all TaggedProfileTemplates in the IORFactory.- Specified by:
makeIORin interfaceIORFactory- Parameters:
orb- ORB to usetypeid- typeid of IORoid- objectId IOR- Returns:
- created IOR
-
isEquivalent
public boolean isEquivalent(IORFactory other)
Description copied from interface:IORFactoryReturn true iff this.makeIOR(orb,typeid,oid).isEquivalent( other.makeIOR(orb,typeid,oid) for all orb, typeid, and oid.- Specified by:
isEquivalentin interfaceIORFactory- Parameters:
other- factory to compare with- Returns:
- true if they are equivalent
-
-