Package eu.simuline.relana.model
Class InstanceLocator
- java.lang.Object
-
- eu.simuline.relana.model.InstanceLocator
-
public final class InstanceLocator extends Object
Locates a class within a library. Created: Thu Apr 14 23:42:03 2005- Version:
- 1.0
- Author:
- Ernst Reissner
-
-
Constructor Summary
Constructors Constructor Description InstanceLocator(List<String> path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)static InstanceLocatorgetLocator(String path)static InstanceLocatorgetLocator(List<String> path)List<String>getPath()Returns the wrapped path as an unmodifiable list.inthashCode()StringtoString()
-
-
-
Field Detail
-
path
private final List<String> path
The name of the class to be located. Declared final to ensure thathashCode()remains unchanged. In addition this list is unmodifyable.
-
-
Method Detail
-
getLocator
public static InstanceLocator getLocator(List<String> path)
-
getLocator
public static InstanceLocator getLocator(String path)
-
-