Package com.sun.corba.se.impl.ior
Class IORTemplateImpl
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
com.sun.corba.se.impl.ior.FreezableList
com.sun.corba.se.spi.ior.IdentifiableContainerBase
com.sun.corba.se.impl.ior.IORTemplateImpl
- All Implemented Interfaces:
IORFactory,IORTemplate,MakeImmutable,Writeable,Iterable,Collection,List
This class is a container of TaggedProfileTemplates.
- Author:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisEquivalent(IORFactory other) Return true iff this.makeIOR(orb,typeid,oid).isEquivalent( other.makeIOR(orb,typeid,oid) for all orb, typeid, and oid.voidEnsure that this IORTemplate and all of its profiles can not be modified.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.se.spi.ior.IdentifiableContainerBase
iteratorByIdMethods inherited from class com.sun.corba.se.impl.ior.FreezableList
add, get, isImmutable, makeElementsImmutable, remove, set, size, subListMethods inherited from class java.util.AbstractList
add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRangeMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface com.sun.corba.se.spi.ior.IORTemplate
iteratorByIdMethods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
IORTemplateImpl
-
IORTemplateImpl
-
-
Method Details
-
equals
- Specified by:
equalsin interfaceCollection- Specified by:
equalsin interfaceList- Overrides:
equalsin classFreezableList
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection- Specified by:
hashCodein interfaceList- Overrides:
hashCodein classFreezableList
-
getObjectKeyTemplate
- Specified by:
getObjectKeyTemplatein interfaceIORTemplate
-
makeIOR
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
-
isEquivalent
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
-
makeImmutable
public void makeImmutable()Ensure that this IORTemplate and all of its profiles can not be modified. This overrides the method inherited from FreezableList through IdentifiableContainerBase.- Specified by:
makeImmutablein interfaceMakeImmutable- Overrides:
makeImmutablein classFreezableList
-
write
Description copied from interface:WriteableWrite this object directly to the output stream.
-