Package it.tidalwave.util.thread
Class ThreadAssertions
java.lang.Object
it.tidalwave.util.thread.ThreadAssertions
Facility class for asserting that the current thread is of some kind.
- Author:
- Fabrizio Giudici
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertThread
(ThreadType threadType) Asserts that the current thread is of the specified type.
-
Constructor Details
-
ThreadAssertions
public ThreadAssertions()
-
-
Method Details
-
assertThread
Asserts that the current thread is of the specified type.- Parameters:
threadType
- the thread type
-