Trait scala.jdk.Priority0FunctionExtensions
trait Priority0FunctionExtensions extends Priority1FunctionExtensions
- Source
- FunctionExtensions.scala
- Linear Supertypes
- Priority1FunctionExtensions, Priority2FunctionExtensions, Priority3FunctionExtensions, AnyRef, Any
- Known Subclasses
- FunctionConverters
Value Members
final def !=(arg0: Any): Boolean
Test two objects for inequality.
- returns
true
if !(this == that), false otherwise.
- Definition Classes
- AnyRef → Any
final def ##(): Int
Equivalent to x.hashCode
except for boxed numeric types and null
. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null
returns a hashcode where null.hashCode
throws a NullPointerException
.
- returns
a hash value consistent with ==
- Definition Classes
- AnyRef → Any
def +(other: String): String
- Implicit
- This member is added by an implicit conversion from Priority0FunctionExtensions toany2stringadd[Priority0FunctionExtensions] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
def ->[B](y: B): (Priority0FunctionExtensions, B)
- Implicit
- This member is added by an implicit conversion from Priority0FunctionExtensions toArrowAssoc[Priority0FunctionExtensions] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
final def ==(arg0: Any): Boolean
The expression x == that
is equivalent to if (x eq null) that eq null else x.equals(that)
.
- returns
true
if the receiver object is equivalent to the argument;false
otherwise.
- Definition Classes
- AnyRef → Any
final def asInstanceOf[T0]: T0
Cast the receiver object to be of type T0
.
Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String]
will throw a ClassCastException
at runtime, while the expression List(1).asInstanceOf[List[String]]
will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.
- returns
the receiver object.
- Definition Classes
- Any
- Exceptions thrown
ClassCastException
if the receiver object is not an instance of the erasure of typeT0
.
def clone(): AnyRef
Create a copy of the receiver object.
The default implementation of the clone
method is platform dependent.
- returns
a copy of the receiver object.
implicit def enrichAsJavaBiConsumer[T, U](sf: (T, U) => Unit): RichFunction2AsBiConsumer[T, U]
- Definition Classes
- Priority2FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaBiFunction[T, U, R](sf: (T, U) => R): RichFunction2AsBiFunction[T, U, R]
- Definition Classes
- Priority3FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaBiPredicate[T, U](sf: (T, U) => Boolean): RichFunction2AsBiPredicate[T, U]
- Definition Classes
- Priority2FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaBinaryOperator[T, A1, A2](sf: (T, A1) => A2)(implicit evA1: =:=[A1, T], evA2: =:=[A2, T]): RichFunction2AsBinaryOperator[T]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaBooleanSupplier(sf: () => Boolean): RichFunction0AsBooleanSupplier
- Annotations
- @inline()
implicit def enrichAsJavaConsumer[T](sf: (T) => Unit): RichFunction1AsConsumer[T]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaDoubleBinaryOperator[A0, A1](sf: (A0, A1) => Double)(implicit evA0: =:=[A0, Double], evA1: =:=[A1, Double]): RichFunction2AsDoubleBinaryOperator
- Annotations
- @inline()
implicit def enrichAsJavaDoubleConsumer[A0](sf: (A0) => Unit)(implicit evA0: =:=[A0, Double]): RichFunction1AsDoubleConsumer
- Annotations
- @inline()
implicit def enrichAsJavaDoubleFunction[A0, R](sf: (A0) => R)(implicit evA0: =:=[A0, Double]): RichFunction1AsDoubleFunction[R]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaDoublePredicate[A0](sf: (A0) => Boolean)(implicit evA0: =:=[A0, Double]): RichFunction1AsDoublePredicate
- Annotations
- @inline()
implicit def enrichAsJavaDoubleSupplier(sf: () => Double): RichFunction0AsDoubleSupplier
- Annotations
- @inline()
implicit def enrichAsJavaDoubleToIntFunction[A0](sf: (A0) => Int)(implicit evA0: =:=[A0, Double]): RichFunction1AsDoubleToIntFunction
- Annotations
- @inline()
implicit def enrichAsJavaDoubleToLongFunction[A0](sf: (A0) => Long)(implicit evA0: =:=[A0, Double]): RichFunction1AsDoubleToLongFunction
- Annotations
- @inline()
implicit def enrichAsJavaDoubleUnaryOperator[A0](sf: (A0) => Double)(implicit evA0: =:=[A0, Double]): RichFunction1AsDoubleUnaryOperator
- Annotations
- @inline()
implicit def enrichAsJavaFunction[T, R](sf: (T) => R): RichFunction1AsFunction[T, R]
- Definition Classes
- Priority2FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaIntBinaryOperator[A0, A1](sf: (A0, A1) => Int)(implicit evA0: =:=[A0, Int], evA1: =:=[A1, Int]): RichFunction2AsIntBinaryOperator
- Annotations
- @inline()
implicit def enrichAsJavaIntConsumer[A0](sf: (A0) => Unit)(implicit evA0: =:=[A0, Int]): RichFunction1AsIntConsumer
- Annotations
- @inline()
implicit def enrichAsJavaIntFunction[A0, R](sf: (A0) => R)(implicit evA0: =:=[A0, Int]): RichFunction1AsIntFunction[R]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaIntPredicate[A0](sf: (A0) => Boolean)(implicit evA0: =:=[A0, Int]): RichFunction1AsIntPredicate
- Annotations
- @inline()
implicit def enrichAsJavaIntSupplier(sf: () => Int): RichFunction0AsIntSupplier
- Annotations
- @inline()
implicit def enrichAsJavaIntToDoubleFunction[A0](sf: (A0) => Double)(implicit evA0: =:=[A0, Int]): RichFunction1AsIntToDoubleFunction
- Annotations
- @inline()
implicit def enrichAsJavaIntToLongFunction[A0](sf: (A0) => Long)(implicit evA0: =:=[A0, Int]): RichFunction1AsIntToLongFunction
- Annotations
- @inline()
implicit def enrichAsJavaIntUnaryOperator[A0](sf: (A0) => Int)(implicit evA0: =:=[A0, Int]): RichFunction1AsIntUnaryOperator
- Annotations
- @inline()
implicit def enrichAsJavaLongBinaryOperator[A0, A1](sf: (A0, A1) => Long)(implicit evA0: =:=[A0, Long], evA1: =:=[A1, Long]): RichFunction2AsLongBinaryOperator
- Annotations
- @inline()
implicit def enrichAsJavaLongConsumer[A0](sf: (A0) => Unit)(implicit evA0: =:=[A0, Long]): RichFunction1AsLongConsumer
- Annotations
- @inline()
implicit def enrichAsJavaLongFunction[A0, R](sf: (A0) => R)(implicit evA0: =:=[A0, Long]): RichFunction1AsLongFunction[R]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaLongPredicate[A0](sf: (A0) => Boolean)(implicit evA0: =:=[A0, Long]): RichFunction1AsLongPredicate
- Annotations
- @inline()
implicit def enrichAsJavaLongSupplier(sf: () => Long): RichFunction0AsLongSupplier
- Annotations
- @inline()
implicit def enrichAsJavaLongToDoubleFunction[A0](sf: (A0) => Double)(implicit evA0: =:=[A0, Long]): RichFunction1AsLongToDoubleFunction
- Annotations
- @inline()
implicit def enrichAsJavaLongToIntFunction[A0](sf: (A0) => Int)(implicit evA0: =:=[A0, Long]): RichFunction1AsLongToIntFunction
- Annotations
- @inline()
implicit def enrichAsJavaLongUnaryOperator[A0](sf: (A0) => Long)(implicit evA0: =:=[A0, Long]): RichFunction1AsLongUnaryOperator
- Annotations
- @inline()
implicit def enrichAsJavaObjDoubleConsumer[T, A1](sf: (T, A1) => Unit)(implicit evA1: =:=[A1, Double]): RichFunction2AsObjDoubleConsumer[T]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaObjIntConsumer[T, A1](sf: (T, A1) => Unit)(implicit evA1: =:=[A1, Int]): RichFunction2AsObjIntConsumer[T]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaObjLongConsumer[T, A1](sf: (T, A1) => Unit)(implicit evA1: =:=[A1, Long]): RichFunction2AsObjLongConsumer[T]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaPredicate[T](sf: (T) => Boolean): RichFunction1AsPredicate[T]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaSupplier[T](sf: () => T): RichFunction0AsSupplier[T]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaToDoubleBiFunction[T, U](sf: (T, U) => Double): RichFunction2AsToDoubleBiFunction[T, U]
- Definition Classes
- Priority2FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaToDoubleFunction[T](sf: (T) => Double): RichFunction1AsToDoubleFunction[T]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaToIntBiFunction[T, U](sf: (T, U) => Int): RichFunction2AsToIntBiFunction[T, U]
- Definition Classes
- Priority2FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaToIntFunction[T](sf: (T) => Int): RichFunction1AsToIntFunction[T]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaToLongBiFunction[T, U](sf: (T, U) => Long): RichFunction2AsToLongBiFunction[T, U]
- Definition Classes
- Priority2FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaToLongFunction[T](sf: (T) => Long): RichFunction1AsToLongFunction[T]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsJavaUnaryOperator[T, A1](sf: (T) => A1)(implicit evA1: =:=[A1, T]): RichFunction1AsUnaryOperator[T]
- Definition Classes
- Priority1FunctionExtensions
- Annotations
- @inline()
implicit def enrichAsScalaFromBiConsumer[T, U](jf: BiConsumer[T, U]): RichBiConsumerAsFunction2[T, U]
- Annotations
- @inline()
implicit def enrichAsScalaFromBiFunction[T, U, R](jf: BiFunction[T, U, R]): RichBiFunctionAsFunction2[T, U, R]
- Annotations
- @inline()
implicit def enrichAsScalaFromBiPredicate[T, U](jf: BiPredicate[T, U]): RichBiPredicateAsFunction2[T, U]
- Annotations
- @inline()
implicit def enrichAsScalaFromBinaryOperator[T](jf: BinaryOperator[T]): RichBinaryOperatorAsFunction2[T]
- Annotations
- @inline()
implicit def enrichAsScalaFromBooleanSupplier(jf: BooleanSupplier): RichBooleanSupplierAsFunction0
- Annotations
- @inline()
implicit def enrichAsScalaFromConsumer[T](jf: Consumer[T]): RichConsumerAsFunction1[T]
- Annotations
- @inline()
implicit def enrichAsScalaFromDoubleBinaryOperator(jf: DoubleBinaryOperator): RichDoubleBinaryOperatorAsFunction2
- Annotations
- @inline()
implicit def enrichAsScalaFromDoubleConsumer(jf: DoubleConsumer): RichDoubleConsumerAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromDoubleFunction[R](jf: DoubleFunction[R]): RichDoubleFunctionAsFunction1[R]
- Annotations
- @inline()
implicit def enrichAsScalaFromDoublePredicate(jf: DoublePredicate): RichDoublePredicateAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromDoubleSupplier(jf: DoubleSupplier): RichDoubleSupplierAsFunction0
- Annotations
- @inline()
implicit def enrichAsScalaFromDoubleToIntFunction(jf: DoubleToIntFunction): RichDoubleToIntFunctionAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromDoubleToLongFunction(jf: DoubleToLongFunction): RichDoubleToLongFunctionAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromDoubleUnaryOperator(jf: DoubleUnaryOperator): RichDoubleUnaryOperatorAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromFunction[T, R](jf: java.util.function.Function[T, R]): RichFunctionAsFunction1[T, R]
- Annotations
- @inline()
implicit def enrichAsScalaFromIntBinaryOperator(jf: IntBinaryOperator): RichIntBinaryOperatorAsFunction2
- Annotations
- @inline()
implicit def enrichAsScalaFromIntConsumer(jf: IntConsumer): RichIntConsumerAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromIntFunction[R](jf: IntFunction[R]): RichIntFunctionAsFunction1[R]
- Annotations
- @inline()
implicit def enrichAsScalaFromIntPredicate(jf: IntPredicate): RichIntPredicateAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromIntSupplier(jf: IntSupplier): RichIntSupplierAsFunction0
- Annotations
- @inline()
implicit def enrichAsScalaFromIntToDoubleFunction(jf: IntToDoubleFunction): RichIntToDoubleFunctionAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromIntToLongFunction(jf: IntToLongFunction): RichIntToLongFunctionAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromIntUnaryOperator(jf: IntUnaryOperator): RichIntUnaryOperatorAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromLongBinaryOperator(jf: LongBinaryOperator): RichLongBinaryOperatorAsFunction2
- Annotations
- @inline()
implicit def enrichAsScalaFromLongConsumer(jf: LongConsumer): RichLongConsumerAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromLongFunction[R](jf: LongFunction[R]): RichLongFunctionAsFunction1[R]
- Annotations
- @inline()
implicit def enrichAsScalaFromLongPredicate(jf: LongPredicate): RichLongPredicateAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromLongSupplier(jf: LongSupplier): RichLongSupplierAsFunction0
- Annotations
- @inline()
implicit def enrichAsScalaFromLongToDoubleFunction(jf: LongToDoubleFunction): RichLongToDoubleFunctionAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromLongToIntFunction(jf: LongToIntFunction): RichLongToIntFunctionAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromLongUnaryOperator(jf: LongUnaryOperator): RichLongUnaryOperatorAsFunction1
- Annotations
- @inline()
implicit def enrichAsScalaFromObjDoubleConsumer[T](jf: ObjDoubleConsumer[T]): RichObjDoubleConsumerAsFunction2[T]
- Annotations
- @inline()
implicit def enrichAsScalaFromObjIntConsumer[T](jf: ObjIntConsumer[T]): RichObjIntConsumerAsFunction2[T]
- Annotations
- @inline()
implicit def enrichAsScalaFromObjLongConsumer[T](jf: ObjLongConsumer[T]): RichObjLongConsumerAsFunction2[T]
- Annotations
- @inline()
implicit def enrichAsScalaFromPredicate[T](jf: Predicate[T]): RichPredicateAsFunction1[T]
- Annotations
- @inline()
implicit def enrichAsScalaFromSupplier[T](jf: Supplier[T]): RichSupplierAsFunction0[T]
- Annotations
- @inline()
implicit def enrichAsScalaFromToDoubleBiFunction[T, U](jf: ToDoubleBiFunction[T, U]): RichToDoubleBiFunctionAsFunction2[T, U]
- Annotations
- @inline()
implicit def enrichAsScalaFromToDoubleFunction[T](jf: ToDoubleFunction[T]): RichToDoubleFunctionAsFunction1[T]
- Annotations
- @inline()
implicit def enrichAsScalaFromToIntBiFunction[T, U](jf: ToIntBiFunction[T, U]): RichToIntBiFunctionAsFunction2[T, U]
- Annotations
- @inline()
implicit def enrichAsScalaFromToIntFunction[T](jf: ToIntFunction[T]): RichToIntFunctionAsFunction1[T]
- Annotations
- @inline()
implicit def enrichAsScalaFromToLongBiFunction[T, U](jf: ToLongBiFunction[T, U]): RichToLongBiFunctionAsFunction2[T, U]
- Annotations
- @inline()
implicit def enrichAsScalaFromToLongFunction[T](jf: ToLongFunction[T]): RichToLongFunctionAsFunction1[T]
- Annotations
- @inline()
implicit def enrichAsScalaFromUnaryOperator[T](jf: UnaryOperator[T]): RichUnaryOperatorAsFunction1[T]
- Annotations
- @inline()
def ensuring(cond: (Priority0FunctionExtensions) => Boolean, msg: => Any): Priority0FunctionExtensions
- Implicit
- This member is added by an implicit conversion from Priority0FunctionExtensions toEnsuring[Priority0FunctionExtensions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
def ensuring(cond: (Priority0FunctionExtensions) => Boolean): Priority0FunctionExtensions
- Implicit
- This member is added by an implicit conversion from Priority0FunctionExtensions toEnsuring[Priority0FunctionExtensions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
def ensuring(cond: Boolean, msg: => Any): Priority0FunctionExtensions
- Implicit
- This member is added by an implicit conversion from Priority0FunctionExtensions toEnsuring[Priority0FunctionExtensions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
def ensuring(cond: Boolean): Priority0FunctionExtensions
- Implicit
- This member is added by an implicit conversion from Priority0FunctionExtensions toEnsuring[Priority0FunctionExtensions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
final def eq(arg0: AnyRef): Boolean
Tests whether the argument (that
) is a reference to the receiver object (this
).
The eq
method implements an equivalence relation on non-null instances of AnyRef
, and has three additional properties:
-
It is consistent: for any non-null instances
x
and y
of type AnyRef
, multiple invocations of x.eq(y)
consistently returns true
or consistently returns false
.For any non-null instance x
of type AnyRef
, x.eq(null)
and null.eq(x)
returns false
.
null.eq(null)
returns true
. When overriding the equals
or hashCode
methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2
), they should be equal to each other (o1 == o2
) and they should hash to the same value (o1.hashCode == o2.hashCode
).
- returns
true
if the argument is a reference to the receiver object;false
otherwise.
- Definition Classes
- AnyRef
def equals(arg0: AnyRef): Boolean
The equality method for reference types. Default implementation delegates to eq
.
See also equals
in scala.Any.
- returns
true
if the receiver object is equivalent to the argument;false
otherwise.
- Definition Classes
- AnyRef → Any
def finalize(): Unit
Called by the garbage collector on the receiver object when there are no more references to the object.
The details of when and if the finalize
method is invoked, as well as the interaction between finalize
and non-local returns and exceptions, are all platform dependent.
def formatted(fmtstr: String): String
Returns string formatted according to given format
string. Format strings are as for String.format
(@see java.lang.String.format).
- Implicit
- This member is added by an implicit conversion from Priority0FunctionExtensions toStringFormat[Priority0FunctionExtensions] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
final def getClass(): Class[_ <: AnyRef]
Returns the runtime class representation of the object.
- returns
a class object corresponding to the runtime type of the receiver.
def hashCode(): Int
The hashCode method for reference types. See hashCode in scala.Any.
- returns
the hash code value for this object.
final def isInstanceOf[T0]: Boolean
Test whether the dynamic type of the receiver object is T0
.
Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String]
will return false
, while the expression List(1).isInstanceOf[List[String]]
will return true
. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.
- returns
true
if the receiver object is an instance of erasure of typeT0
;false
otherwise.
- Definition Classes
- Any
final def ne(arg0: AnyRef): Boolean
Equivalent to !(this eq that)
.
- returns
true
if the argument is not a reference to the receiver object;false
otherwise.
- Definition Classes
- AnyRef
final def notify(): Unit
Wakes up a single thread that is waiting on the receiver object's monitor.
- Definition Classes
- AnyRef
- Annotations
- @native()
- Note
not specified by SLS as a member of AnyRef
final def notifyAll(): Unit
Wakes up all threads that are waiting on the receiver object's monitor.
- Definition Classes
- AnyRef
- Annotations
- @native()
- Note
not specified by SLS as a member of AnyRef
final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
def toString(): String
Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.
- returns
a String representation of the object.
- Definition Classes
- AnyRef → Any
final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
final def wait(arg0: Long): Unit
© 2002-2019 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://www.scala-lang.org/api/2.13.0/scala/jdk/Priority0FunctionExtensions.html