com.jrockit.memleak.mlp
Class JoinedTypeHeapInfo
java.lang.Object
com.jrockit.memleak.value.HeapInfo
com.jrockit.memleak.mlp.JoinedTypeHeapInfo
- All Implemented Interfaces:
- IHeapHistogram, IHeapInfo, INamedType, ITypeHeapInfo<INamedType>, ITypeSpecifier, java.lang.Iterable<ITypeHeapInfo<IClassInfo>>
public class JoinedTypeHeapInfo
- extends HeapInfo
- implements INamedType, ITypeHeapInfo<INamedType>, IHeapHistogram
- Author:
- mpersson
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
getName
public java.lang.String getName()
- Description copied from interface:
INamedType
- Returns the name of the entity (class, interface, array class, primitive
type, or void) represented by this INamedType object.
- Specified by:
getName in interface INamedType
- Returns:
- the name of the class represented by this INamedType object.
- See Also:
Class.getName()
select
public <T> T select(ITypeResolver<T> resolver)
- Description copied from interface:
ITypeSpecifier
- Select the type or types using operations on
resolver.
NOTE: It is strictly forbidden to keep a reference to the given resolver
(including weak references etc.) as well as any type of caching based on
values returned from the resolver. Only the resolver itself is
capable of determining if results may be cached.
- Specified by:
select in interface ITypeSpecifier
- Returns:
- a resolved type
getType
public INamedType getType()
- Specified by:
getType in interface ITypeHeapInfo<INamedType>
- Returns:
- the
INamedType implementor this instance has heap usage
data for.
iterator
public java.util.Iterator<ITypeHeapInfo<IClassInfo>> iterator()
- Specified by:
iterator in interface java.lang.Iterable<ITypeHeapInfo<IClassInfo>>
getTypeHeapInfos
public java.util.Collection<ITypeHeapInfo<IClassInfo>> getTypeHeapInfos()
- Specified by:
getTypeHeapInfos in interface IHeapHistogram
- Returns:
- a collection of
ITypeHeapInfo:s.
getGroupedTypeHeapInfos
public java.util.Collection<? extends ITypeHeapInfo<?>> getGroupedTypeHeapInfos()
- Specified by:
getGroupedTypeHeapInfos in interface IHeapHistogram
- Returns:
- a collection of
ITypeHeapInfo:s.
hashCode
public int hashCode()
- Specified by:
hashCode in class HeapInfo
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class HeapInfo
equals
protected boolean equals(JoinedTypeHeapInfo other)
- Parameters:
other - an JoinedTypeHeapInfo
- Returns:
- true iff
other represent the same class name in the
JVM. - See Also:
Object.equals(Object)
Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.