android.test
Class ClassPathPackageInfo
java.lang.Object
android.test.ClassPathPackageInfo
public class ClassPathPackageInfo
- extends Object
The Package object doesn't allow you to iterate over the contained
classes and subpackages of that package. This is a version that does.
Not needed for 1.0 SDK.
ClassPathPackageInfo
ClassPathPackageInfo(ClassPathPackageInfoSource source,
String packageName,
Set<String> subpackageNames,
Set<Class<?>> topLevelClasses)
getSubpackages
public Set<ClassPathPackageInfo> getSubpackages()
getTopLevelClassesRecursive
public Set<Class<?>> getTopLevelClassesRecursive()
equals
public boolean equals(Object obj)
- Description copied from class:
Object
- Compares the argument to the receiver, and returns true if they represent
the same object using a class specific comparison. The
implementation in Object returns true only if the argument is the exact
same object as the receiver (==).
- Overrides:
equals in class Object
- Parameters:
obj - Object the object to compare with this object.
- Returns:
- boolean
true if the object is the same as this
object false if it is different from this object. - See Also:
Object.hashCode()
hashCode
public int hashCode()
- Description copied from class:
Object
- Returns an integer hash code for the receiver. Any two objects which
answer
true when passed to .equals must
answer the same value for this method.
- Overrides:
hashCode in class Object
- Returns:
- int the receiver's hash.
- See Also:
Object.equals(java.lang.Object)
Please submit a feedback, bug or feature