|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Packages | |
javautils | Miscellaneous utility classes. |
javautils.collections | Utilities for manipulating collections. |
javautils.dispensers | Dispenser framework and library. |
javautils.fun | Framework for functional objects. |
javautils.graph | Utilities for manipulating graphs. |
javautils.graph.adt | Interfaces for graphs. |
javautils.graph.templates | Template Methods [Gamma1995] for graph algorithms. |
javautils.graph.testing | Utilities for testing graph algorithms. |
javautils.holders | Holder classes for primitives types. |
javautils.jdbc | Utilities for dealing with JDBC. |
javautils.maps | Type safe maps for convenience. |
JavaUtils is a library of Java utility classes and packages. Among other things, it contains utilities for functional programming.
Many methods in JavaUtils are very simple wrappers on Java
API methods intended to make it convenient to perform frequently
needed operations. These wrapper methods often translate
checked exceptions to unchecked exceptions, using
Exceptions.toThrowUnchecked(Throwable)
, and
provide useful defaults for arguments. For example, Classes.newInstance(Class)
is a very simple utility
method for instantiating a class. The documentation of such methods
is usually provided in the form of a pseudo code snippet that
illustrates the semantics of the method. Such pseudo code snippets
are not the implementation of the method.
The classes and methods in the JavaUtils-library are named fairly systematically using a relatively small number of naming patterns.
The naming conventions used in the JavaUtils-library are different from the Java naming conventions used by Sun. In JavaUtils, in general, method names start with a verb if the method is decisively imperative and the client calls the method explicitly for the side-effects of the method. On the other hand, methods that are functional, and do not have externally observable side-effects do not, in general, start with a verb. We feel that these conventions yield short and logical names that communicate the intentions of the methods well.
Abstract*
AbstractTypedMap
Basic*
BasicGraph
*Builder
GraphBuilder
*Constants
TestGraphConstants
*Contract
GraphContract
*Decorator
GraphDecorator
*Holder
IntHolder
*Map
ObjectToIntMap
*s (plural)
Graphs
*Template
BfsTemplate
*Test
AlgsTest
*To*
ObjectToObjectToBoolean
The following is a complete alphabetical listing of references made in the documentation. Please note that this documentation is not intended as an introduction to software design. The references point out to readily available software design, algorithm and programming texts whose material is general enough that it is not worth rephrasing here.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |