Package it.tidalwave.util.thread
Class ThreadAssertions
- java.lang.Object
-
- it.tidalwave.util.thread.ThreadAssertions
-
public final class ThreadAssertions extends java.lang.Object
Facility class for asserting that the current thread is of some kind.- Author:
- Fabrizio Giudici
-
-
Constructor Summary
Constructors Constructor Description ThreadAssertions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assertThread(ThreadType threadType)
Asserts that the current thread is of the specified type.
-
-
-
Method Detail
-
assertThread
public static void assertThread(@Nonnull ThreadType threadType)
Asserts that the current thread is of the specified type.- Parameters:
threadType
- the thread type
-
-