Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.go.trove.* (166)com.gopas.rt.* (148)

Package Samples:

com.gopas.rt.app
com.gopas.rt.gui
com.gopas.rt.gui.beans
com.gopas.rt.gui.table
com.gopas.rt.model
com.gopas.rt.model.calc
com.gopas.rt.util
com.go.trove.classfile
com.go.trove.io
com.go.trove.log
com.go.trove.net
com.go.trove
com.go.trove.util
com.go.trove.util.plugin
com.go.trove.util.tq

Classes:

BeanComparator: A highly customizable, high-performance Comparator, designed specifically for advanced sorting of JavaBeans. BeanComparators contain dynamically auto-generated code and perform as well as hand written Comparators. BeanComparator instances are immutable; order customization methods return new BeanComparators with refined rules. Calls to customizers can be chained together to read like a formula. The following example produces a Comparator that orders Threads by name, thread group name, and reverse priority. Comparator c = BeanComparator.forClass(Thread.class) .orderBy("name") .orderBy("threadGroup.name") ...
IdentityMap: An IdentityMap is like WeakHashMap, except it uses a key's identity hashcode and equals methods. IdentityMap is not thread-safe and must be wrapped with Collections.synchronizedMap to be made thread-safe. Most of the implementation for this class is ripped off from java.util.HashMap, but not java.util.WeakHashMap, in order to acheive greater efficiency. The documentation for WeakHashMap states that it is intended primarily for use with key objects whose equals methods test for object identity using the == operator. Because WeakHashMap uses a key's own equals and hashcode methods, it is better suited ...
Depot: Depot implements a simple and efficient caching strategy. It is thread-safe, and it allows requests of different objects to occur concurrently. Depot is best suited as a front-end for accessing objects from a remote device, like a database. If the remote device is not responding, the Depot will continue to serve invalidated objects so that the requester may continue as normal. Depot is designed as a cache in front of an object factory . Objects may be invalidated, but they are not explicitly removed from the cache until a replacement has been provided by the factory. The factory is invoked from ...
PropertyParser: Parses a properties file similar to how java.util.Properties does, except: Values have trailing whitespace trimmed. Quotation marks ( " or ' ) can be used to define keys and values that have embedded spaces. Quotation marks can also be used to define multi-line keys and values without having to use continuation characters. Properties may be nested using braces '{' and '}'. Just like Properties, comment lines start with optional whitespace followed by a '#' or '!'. Keys and values may have an optional '=' or ':' as a separator, unicode escapes are supported as well as other common escapes. A line ...
Log: General purpose logging class that operates using a hierarchy of Logs and an event model. All LogEvents are categorized into one of four types: debugging, informational, warning and error. A log event can be generated by writing to one of the four PrintWriter fields provided (debug, info, warn and error), or by calling the debug, info, warn or error methods. Logs can have a parent Log, which by default, receives all the events that the Log generates or receives. If a log is disabled, it will not generate or propagate events. Examples: Log log = new Log("test", null); log.addLogListener(new LogScribe(new ...
BOListEvent: BOListEvent is used to notify listeners that a BOList has changed. The model event describes changes to a BOList Depending on the parameters used in the constructors, the BOListEvent can be used to specify the following types of changes: BOListEvent(source); // The data, ie. all rows changed BOListEvent(source, HEADER_ROW); // Structure change BOListEvent(source, 1); // Row 1 changed BOListEvent(source, 3, 6); // Rows 3 to 6 inclusive changed BOListEvent(source, 2, 2, 6); // Cell at (2, 6) changed BOListEvent(source, 3, 6, INSERT); // Rows (3, 6) were inserted BOListEvent(source, 3, 6, DELETE); ...
MergedClass: Merges several classes together, producing a new class that has all of the methods of the combined classes. All methods in the combined class delegate to instances of the source classes. If multiple classes implement the same method, the first one provided is used. The merged class implements all of the interfaces provided by the source classes or interfaces. This class performs a function almost the same as the Proxy class introduced in JDK1.3. It differs in that it supports classes as well as interfaces as input, and it binds to wrapped objects without using runtime reflection. It is less flexible ...
SourceReader: The SourceReader provides several services for reading source input. It calculates line numbers, position in the source file, supports two character pushback, extracts code from text that allows mixed code and plain text, and it processes unicode escape sequences that appear in source code. Readers return -1 when the end of the stream, has been reached, and so does SourceReader. SourceReader will also return other special negative values to indicate a tag substitution. ENTER_CODE is returned to indicate that characters read are in source code, and ENTER_TEXT is returned to indicate that characters ...
SoftHashMap: A Map that softly references its values and can be used as a simple cache. SoftHashMap is not thread-safe and must be wrapped with Collections.synchronizedMap to be made thread-safe. Most of the implementation for this class is ripped off from java.util.HashMap Note: Softly referenced entries may be automatically removed during either accessor or mutator operations, possibly causing a concurrent modification to be detected. Therefore, even if multiple threads are only accessing this map, be sure to synchronize this map first. Also, do not rely on the value returned by size() when using an iterator ...
LogScribe: LogScribe is a LogListener that writes log messages to a PrintWriter. Each message is printed to a line that is prepended with other LogEvent information. The default prepend format is as follows: [event type code],[date & time],[thread name],[log source name]>[one space] The event type codes are " D", " I", "*W" and "*E" for debug, info, warn and error, respectively. The default date format looks like this: "1999/06/08 18:08:34.067 PDT" . If there is no log source, or it has no name, it is omitted from the prepend. Here is a sample line that is written out: I,1999/06/08 18:08:34.67 PDT,main> Started ...
CollOps: CollOps provides a couple of utility operations for various collections . Method for the following operations are provided: Set operations Applying functions to collection elements Applying predicates for filtering and removing>/li> There are never instances created from this class, alle methods are static. Methods returning result collection typical have a paramter for providing the collection object for the result. if it is null, the method will create an appropriate collection instance. If the result object is provide, it will not be cleared by the method. The results will simply added.
DefaultTrigger: Implementiert einen Trigger, der ausgeloest wird, wenn eines der angegebenen Attribte veraendert wird. Attributnamen koennen KEINE punkte enthalten, sie werden NICHT wie Pfadnamen interpretiert. Stattdessen wird direkt die Basisklasse angegeben. TODO: Soll man folgendes Einbauen? Konventionen fuer spezielle Ereignisse: Nach einer PASTE-Operation wird der Trigger mit der property PASTE aufgerufen, nach einer Lade-Operation von der Datenbank wird der Trigger mit LOAD aufgerufen, nach einem Erzeugen wird der Trigger mit einem CREATE aufgerufen. Nach einer CUT- oder DELETE-Operation wird der Trigger ...
ExtensionFileFilter: A convenience implementation of FileFilter that filters out all files except for those type extensions that it knows about. Extensions are of the type ".foo", which is typically found on Windows and Unix boxes, but not on Macinthosh. Case is ignored. Example - create a new filter that filerts out all files but gif and jpg image files: JFileChooser chooser = new JFileChooser(); ExtensionFileFilter filter = new ExtensionFileFilter( new String{"gif", "jpg"}, "JPEG & GIF Images") chooser.addChoosableFileFilter(filter); chooser.showOpenDialog(this);
CheckedSocket: A socket that tracks if any I/O exceptions have occured and ensures that plain I/O exceptions are thrown as SocketExceptions. InterruptedIOExceptions do not affect the exception count, and they are not converted to SocketExceptions. All socket exceptions thrown will actually be instances of CheckedSocketException , which subclasses SocketException. The error messages will contain additional information, and the original exception and socket can be obtained from it.
MultiPooledSocketFactory: Pooled SocketFactory implementation that connects to multiple hosts that may resolve to multiple InetAddresses. If running under Java 2, version 1.3, changes in the address resolution are automatically detected using InetAddressResolver . Consider wrapping with a LazySocketFactory for automatic checking against socket factories that may be dead.
Message: Message write several types of error messages and other messages some of them can be switched on/off and can throw Exceptions. Message is a Singleton. You can either use the static methods or a single Instance theMessage this version requires JDK1.2 Usage: you create and register(add) one or more instances of a Trace subclass. These instances do the real output, some of them to a Stream and otheres pop up messages. Each Trace object can be given separate thresholds for error messages (the interface RT contains some useful constants).
DistributedSocketFactory: A SocketFactory implementation for distributing load among several SocketFactories. If an exception occurs on a socket, its pool is put into the "dead" list. A special thread will run in the background, trying to resurrect the dead SocketSocket. As soon as its able to create sockets again, its added back into the "live" list. Consider wrapping with a LazySocketFactory for automatic checking against socket factories that may be dead.
TraceImpl: TraceImpl implements Trace - see there for method descriptions. TraceImpl knows about several types of error messages and other messages each of them can be switched on/off and can throw Exceptions. Subclasses of Trace handle messages differently: write them to output writers, a console window or pop up a window for a message None of the output methods are public. A Trace object is typically managed called the Message singleton. The management methods allow to configure the degree of output this version requires JDK1.2
ConstantPool: This class corresponds to the constant_pool structure as defined in section 4.4 of The Java Virtual Machine Specification . ConstantPool entries are not written out in the order in which they were added to it. Instead, their ordering is changed such that String, Integer and Float constants are written out first. This provides a slight optimization for referencing these constants from a code attribute. It means that Opcode.LDC will more likely be used (one-byte index) than Opcode.LDC_W (two-byte index).
LazySocket: A socket implementation that lazily establishs a connection. It only connects when actually needed. Setting options and getting I/O streams will not force a connection to be established. As soon as a read or write operation is performed, a connection is established. If the first write operation requires a connection to be established, then a recycled connection is requested. The connection is tested by writing the data to it. If this fails, a new connection is requested and the operation is tried again.
LazySocketFactory: A socket implementation that lazily establishs a connection. It only connects when actually needed. Setting options and getting I/O streams will not force a connection to be established. As soon as a read or write operation is performed, a connection is established. If the first write operation requires a connection to be established, then a recycled connection is requested. The connection is tested by writing the data to it. If this fails, a new connection is requested and the operation is tried again.
Trace: Trace knows about several types of error messages and other messages each of them can be switched on/off and can throw Exceptions. Subclasses of Trace handle messages differently: write them to output writers, a console window or pop up a window for a message None of the output methods are public. A Trace object is typically managed called the Message singleton. The management methods allow to configure the degree of output this version requires JDK1.2
NullKeyMap: A Map supporting null keys that wraps a Map that doesn't support null keys. NullKeyMap substitutes null keys with a special placeholder object. This technique does not work when the wrapped Map is a TreeMap because it cannot be compared against other objects. In order for TreeMaps to support null keys, use any of the null ordering comparators found in the Utils class.
Dependent: Schnittstelle fuer ein abhaengiges Objekt, z. B. eine Attributeklasse. Ein Dependent wird mit einer Ownerinstanz erzeugt, kopiert, gesichert und geloescht. Jedes Dependent Objekt besitzt ein Rueckverweis auf das entsprechende Ownerobjekt. Das Ownerobjekt wird beim Erzeugen gesetzt und danach nicht mehr veraendert. Implementierende Klasse muessen dies in ihren Konstruktor- bzw. Factorymethoden entsprechend beruecksichtigen.

Home | Contact Us | Privacy Policy | Terms of Service