com.jrockit.memleak
Interface IPointToTypeInfo

All Known Implementing Classes:
PointToTypeInfo

public interface IPointToTypeInfo

Value interface for information about which types references another specific type.


Field Summary
static IPointToTypeInfo[] EMPTY_ARRAY
          An empty IPointToTypeInfo array.
 
Method Summary
 int getNoofInstancesOfReferredType()
          Get the total number of instances of the referred type.
 int[] getNumInstances()
          Returns an array with the number of instances for each referrer type.
 int getNumInstancesFor(int i)
          Returns the number of instances of type number i.
 IClassInfo getReferredType()
          Returns the IClassInfo of the referred type.
 IClassInfo getReferrer(int i)
          Returns the IClassInfo of referrer number i.
 IClassInfo[] getReferrers()
          Returns an array with the IClassInfo for each referrer type.
 int getTotalNumberOfReferredInstances()
          Get the total number of referring instances.
 

Field Detail

EMPTY_ARRAY

static final IPointToTypeInfo[] EMPTY_ARRAY
An empty IPointToTypeInfo array.

Method Detail

getNumInstances

int[] getNumInstances()
Returns an array with the number of instances for each referrer type.

Returns:
see above

getNumInstancesFor

int getNumInstancesFor(int i)
Returns the number of instances of type number i.

Parameters:
i - index in array
Returns:
see above

getReferredType

IClassInfo getReferredType()
Returns the IClassInfo of the referred type.

Returns:
see above

getReferrers

IClassInfo[] getReferrers()
Returns an array with the IClassInfo for each referrer type.

Returns:
see above

getReferrer

IClassInfo getReferrer(int i)
Returns the IClassInfo of referrer number i.

Parameters:
i - index in array
Returns:
see above

getTotalNumberOfReferredInstances

int getTotalNumberOfReferredInstances()
Get the total number of referring instances. This is the same as the sum of the instances array.

Returns:
total number of referring instances

getNoofInstancesOfReferredType

int getNoofInstancesOfReferredType()
Get the total number of instances of the referred type.

Returns:
total number of instances of the referred type


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.