com.tc.util |
|
Java Source File Name | Type | Comment |
AATree.java | Class | Implements an AA-tree. |
AbstractClassDumper.java | Class | A little utility class that will write class files to disk. |
AbstractIdentifier.java | Class | Generic Identifier class, parent class of many ID types. |
AbstractIdentifierTest.java | Class | Unit test for
AbstractIdentifier . |
AbstractResourceBundleFactory.java | Class | |
ActivityMonitor.java | Class | This class can be used while debugging to record some activity based on a key and later can be used to inpect the
activity when something goes wrong. |
AdaptedClassDumper.java | Class | A little utility class that will write class files to disk for instrumented class files. |
ArchiveBuilder.java | Interface | |
Assert.java | Class | A general purpose assertion utility. |
AssertTest.java | Class | Unit test for
Assert . |
ByteishBuffer.java | Interface | Stuff common to ByteBuffer and TCByteBuffer. |
ByteishWrapper.java | Class | Only wanted to write the real dump() implementation once, so this wrapper should mask whether we are working with an
NIO byte buffer or a TC byte buffer. |
ClassListToFileList.java | Class | Translates an array of Class objects to an array of File objects. |
ClassUtils.java | Class | |
ClassUtilsTest.java | Class | |
CommonShutDownHook.java | Class | |
CompositeIdentifier.java | Class | |
CompositeIdentifierTest.java | Class | |
Conversion.java | Class | Data conversion algorithms and whatnot can be found in java.io.DataInput and java.io.DataOutput. |
Conversions.java | Class | |
ConversionTest.java | Class | JUnit TestCase to exercise the Conversion class. |
Counter.java | Class | |
CruiseControlLogParser.java | Class | |
DebugUtil.java | Class | This a temporary class to hold a debug flag and should be removed after the CyclicBarrier bug is found. |
DsoFinalMethodTest.java | Class | Test to see if an adapted class has all of the adaptations we expect. |
Dumper.java | Class | Class to facilitate printing out binary data or opaque objects in some sort of other usable form. |
DumperTest.java | Class | |
EnumerationWrapper.java | Class | |
EqualityComparator.java | Interface | Knows how to compare two objects for equality. |
EqualsEqualityComparator.java | Class | An
EqualityComparator that compares objects with
Object.equals(Object) . |
EqualsEqualityComparatorTest.java | Class | Unit test for
EqualsEqualityComparator . |
ExternalProcessStreamWriter.java | Class | |
FieldUtils.java | Class | |
HashtableKeySetWrapper.java | Class | |
HashtableValuesWrapper.java | Class | |
HexDump.java | Class | Knows how to dump out byte arrays in the style of emacs' hexl-mode. |
HexDumpTest.java | Class | Unit test for
HexDump . |
InitialClassDumper.java | Class | A little utility class that will write class files to disk for uninstrumented class files. |
InvalidSequenceIDException.java | Class | |
JarBuilder.java | Class | |
ListIteratorWrapper.java | Class | |
LoggingInvocationHandler.java | Class | An
InvocationHandler that logs every call made through it, along with the thread that made it. |
NonPortableDetail.java | Class | Label/value pair for use in a
NonPortableReason . |
NonPortableReason.java | Class | Encapsulate why something is non-portable and build nice error messages
for printing when that occurs. |
NonPortableReasonTest.java | Class | |
ObjectIDSet.java | Class | TODO May 31, 2006: 1) Make this set special case things like addAll() removeAll() etc if the passed in collection is
also an ObjectIDSet 2) Make this set optimized for worst case scenario too. |
ObjectIDSet2.java | Class | This class is a an attempt to meet the shortcomings of ObjectIDSet. |
ObjectIDSetTest.java | Class | |
OidLongArray.java | Class | |
OidLongArrayTest.java | Class | |
PortChooser.java | Class | |
ProductInfo.java | Class | Utility class to retrieve the build information for the product. |
ProductInfoBundle.java | Class | |
ReflectionUtil.java | Class | A wrapper for unsafe usage in class like Atomic Variables, ReentrantLock, etc. |
ReflectiveProxy.java | Class | Creates a proxy to allows a class containing the correct set of method signatures to stand in for an interface (w/o
actually implementing it)
NOTE: even if createProxyIfPossible() returns a proxy, it doesn't mean you want get ClassCastExceptions on the
argument and/or return types -- The only checking that is done is on class names (ignoring loaders completely)
NOTE (2): Since reflection is used, this probably isn't the fastest thing in town. |
ReflectiveProxyTest.java | Class | |
ReplaceLine.java | Class | |
Resolve.java | Interface | |
ResourceBundleFactory.java | Interface | |
ResourceBundleHelper.java | Class | |
SameObjectEqualityComparator.java | Class | An
EqualityComparator that tells if objects are the same actual object. |
SameObjectEqualityComparatorTest.java | Class | Unit test for
SameObjectEqualityComparator . |
SequenceGenerator.java | Class | |
SequenceGeneratorTest.java | Class | |
SequenceID.java | Class | |
SequenceValidator.java | Class | |
SequenceValidatorTest.java | Class | |
SerializationSpeedTester.java | Class | This is a nifty little class that lets you 'profile' the serialization speed of a given object: it will serialize the
object in question, and each class underneath that object, printing the speed of each serialization at the end. |
SerializationTestUtil.java | Class | Utilities for use in testing serialization. |
SetIteratorWrapper.java | Class | Since a Set is just a wrapper around a HashMap we need to use this to find out about removes from iterators on sets. |
SetMapPerformanceTest.java | Class | |
SettableBoolValue.java | Class | |
SettableBoolValueTest.java | Class | |
SettableIntValue.java | Class | |
SettableIntValueTest.java | Class | |
SettableValue.java | Class | A simple value (of any Object type) that can be in three states, not just two:
- Unset.
- Set, but null.
- Set, with a value.
This lets us handle a myriad of cases in the config where we need to distinguish between something having never
been set and something having been set explicitly to null. |
SettableValueTest.java | Class | Unit test for
SettableValue . |
Stack.java | Class | |
StackTest.java | Class | |
StandardResourceBundleFactory.java | Class | |
StandardStringifier.java | Class | A
Stringifier that generally uses
Object.toString on objects, but uses special cases for certain
objects (like arrays) for which
Object.toString doesn't do a very good job. |
StandardStringifierTest.java | Class | Unit test for
StandardStringifier . |
StartupLock.java | Class | Class for testing if it is safe to startup a process on a specified directory (i.e. |
StartupLockTest.java | Class | |
State.java | Class | |
Stringifier.java | Interface | Knows how to turn objects into strings in some fashion. |
StringReplace.java | Class | A small app that does a simple substring search and replace. |
StringUtil.java | Class | String utility methods. |
StringUtilTest.java | Class | |
SyncObjectIdSet.java | Interface | |
SyncObjectIdSetImpl.java | Class | |
SyncObjectIdSetImplTest.java | Class | |
TCAssertionError.java | Class | Assertion error thrown by
Assert . |
TCDataFileLockingException.java | Class | |
TCTimeoutException.java | Class | An exception thrown when an operation times out. |
TCTimer.java | Interface | |
TCTimerImpl.java | Class | A wrapper around java.util.Timer. |
TestTimer.java | Class | |
THashMapCollectionWrapper.java | Class | |
TimeMovesForwardTest.java | Class | |
TIMUtil.java | Class | Terracotta Integration Module Util
This should be the only source where the TIM names and versions
are defined. |
ToStringStringifier.java | Class | A
Stringifier that uses
Object.toString to do its work. |
ToStringStringifierTest.java | Class | Unit test for
ToStringStringifier . |
UnsafeUtil.java | Class | A wrapper for unsafe usage in class like Atomic Variables, ReentrantLock, etc. |
Util.java | Class | Generic utility methods. |
UtilHashTest.java | Class | |
UtilTest.java | Class | |
UUID.java | Class | |
VendorVmSignature.java | Class | |
VendorVmSignatureException.java | Class | |
WindowUtil.java | Class | |
ZipBuilder.java | Class | |
ZipCompare.java | Class | |