use java Predicate in Java API
This commit is contained in:
parent
e8e62e2ca2
commit
4132507486
2 changed files with 6 additions and 4 deletions
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
package akka.actor.typed.internal
|
||||
|
||||
import java.util.function.{ Function => JFunction }
|
||||
import scala.annotation.tailrec
|
||||
import scala.util.control.NonFatal
|
||||
import akka.actor.DeadLetter
|
||||
|
|
@ -15,10 +14,13 @@ import akka.actor.typed.javadsl
|
|||
import akka.actor.typed.scaladsl
|
||||
import akka.actor.typed.scaladsl.ActorContext
|
||||
import akka.annotation.{ InternalApi, InternalStableApi }
|
||||
import akka.japi.function.{ Predicate, Procedure }
|
||||
import akka.japi.function.Procedure
|
||||
import akka.util.{ unused, ConstantFun }
|
||||
import akka.util.OptionVal
|
||||
|
||||
import java.util.function.{ Function => JFunction }
|
||||
import java.util.function.Predicate
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@ package akka.actor.typed.javadsl
|
|||
|
||||
import akka.actor.typed.{ scaladsl, Behavior }
|
||||
import akka.annotation.DoNotInherit
|
||||
import akka.japi.function.{ Predicate, Procedure }
|
||||
import akka.japi.function.Procedure
|
||||
|
||||
import java.util.function.{ Function => JFunction }
|
||||
import java.util.function.{ Predicate, Function => JFunction }
|
||||
|
||||
/**
|
||||
* A non thread safe mutable message buffer that can be used to buffer messages inside actors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue