Top Fields Constructors Methods
com.sun.star.lib.uno.helper

public Class MultiTypeInterfaceContainer

extends Object
Class Inheritance
Imports
com.sun.star.uno.Type, com.sun.star.lang.EventObject, java.util.HashMap, .Map, .Iterator

Field Summary

Modifier and TypeField and Description
private final Map<Object, InterfaceContainer>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized int
addInterface(Object ckey, Object iface)

public synchronized void
public void
disposeAndClear(com.sun.star.lang.EventObject evt)

public synchronized Type[]

Returns:

an array of types in this container.
getContainedTypes
()

only returns types which have at least one value in InterfaceContainer return value can contain an element null, if someone called addInterface (null, interf)

public synchronized InterfaceContainer

Returns:

the container that contains the object key, if any.
getContainer
(Object
the object for which the container should be retrieved.
key
)

param key can be null

public synchronized int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

mapback to summary
private final Map<Object, InterfaceContainer> map

Constructor Detail

MultiTypeInterfaceContainerback to summary
public MultiTypeInterfaceContainer()

Method Detail

addInterfaceback to summary
public synchronized int addInterface(Object ckey, Object iface)
clearback to summary
public synchronized void clear()
disposeAndClearback to summary
public void disposeAndClear(com.sun.star.lang.EventObject evt)
getContainedTypesback to summary
public synchronized Type[] getContainedTypes()

only returns types which have at least one value in InterfaceContainer return value can contain an element null, if someone called addInterface (null, interf)

Returns:Type[]

an array of types in this container.

getContainerback to summary
public synchronized InterfaceContainer getContainer(Object key)

param key can be null

Parameters
key:Object

the object for which the container should be retrieved.

Returns:InterfaceContainer

the container that contains the object key, if any.

removeInterfaceback to summary
public synchronized int removeInterface(Object key, Object iface)