Package eu.simuline.util
Utility classes: very inhomogeneous.
These are used in projects Arith, Relana, ArithIntOctave and Testhelpers.
Currently linked, but in the long run, either eliminated
or in a separate project.
To decide this, it must be analyzed which projects need which classes.
| Class | Arith | Relana | ArithIntOctave | Testhelpers |
| ----- | ----- | ------ | --------------
-
Framework providing the
MultiSets, plain and sortedSortedMultiSet, both interfaces and implementing classes:AbstractMultiSetwhich is the base class of all concrete classes. There are two,HashMultiSetwhich is just aMultiSetandTreeMultiSetwhich is even aSortedMultiSet. **** bad design: immutable. of TreeMultiSet set and of HashMultiSet
x ***** NOT YET COMPLETE.-
Interface Summary Interface Description Finder.Callable To be implemented by java classes to apply a filter to a file and give feedback whether this filter succeeded.JavaPath.FileWrapper Wrapps a file directly found within a directory or within a zip-archive which also includes jar-archives. -
Class Summary Class Description BasicTypesCompatibilityChecker Provides methods to map basic types to their wrappers, to map wrapper types to the corresponding basic types and for compatibility checks.Finder Emulates the unix shell commandfindwhich is invoked asfind [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...]Finder.AndFilter One of the logical operations of filters: Returns a filter which passes a file iff all original filters inFinder.AndFilter.filtersdo so.Finder.ExecFilter Filter executing a shell command and passes the file received if the shell command succeeds according to its return code.Finder.ExecJavaFilter Filter executing a java class implementingFinder.Callablewhich passes the file received if the methodFinder.Callable.call(File)succeeds according to its return code.Finder.Filter Represents a file filter.Finder.NameFilter Filters files by name.Finder.NegFilter One of the logical operations of filters: Returns a filter which passes a file iff the original filterFinder.NegFilter.tbNegFilterdoes not.Finder.OrFilter One of the logical operations of filters: Returns a filter which passes a file iff at least one of the original filters inFinder.OrFilter.filtersdo so.Finder.Primary The most basic kind of finder: MethodFinder.path(File)returns an instance of this.Finder.Secondary A finder wrapping aFinder.Filter.JavaPath Represents a path to find class and source files on.JavaPath.OrdFileWrapper Represents an ordinary fileJavaPath.OrdFileWrapper.fileon a file system.JavaPath.ZipEntryWrapper Represents a fileJavaPath.ZipEntryWrapper.entrywhich is an entry in a zip-fileJavaPath.ZipEntryWrapper.zipFile. -
Enum Summary Enum Description JavaPath.ClsSrc Determines whether a class file or a source file is meant. -
Exception Summary Exception Description NotYetImplementedException Thrown if a place in the code is reached, where implementation is not finished.