private int transactionToIndex ( T t ) { Integer r = allTransactions . absoluteIndexOf ( t ) ; return r == null ? - 1 : r . intValue ( ) ; }
maps a transaction to its index and returns - 1 if not found