public static class Threads.ThreadIdPredicate extends Object implements Threads.ThreadPredicate
public ThreadIdPredicate(long threadId)
threadId - the threadId to matchIllegalArgumentException - if the threadId is zero or negativepublic boolean test(Thread thread)
Threads.ThreadPredicatetest 在接口中 Threads.ThreadPredicatethread - the threadtrue if the thread matches the predicate, otherwise falseCopyright © 2020. All rights reserved.