class Hashed[T] extends AnyRef
Wraps provided value together with its hashCode. Equals is overridden to first check hashCode and then delegate to the wrapped value.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Hashed
- AnyRef
- Any
Implicitly
- by PatchOps
- by DiffOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
Hashed(value: T)(implicit arg0: Eq[T])
- value
wrapped value
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Hashed[T], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[F[_], Json](json: Json)(implicit P: Patch[F, Json, Hashed[T]]): F[Json]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def diff[P](that: Hashed[T])(implicit Diff: Diff[Hashed[T], P]): P
- def ensuring(cond: (Hashed[T]) ⇒ Boolean, msg: ⇒ Any): Hashed[T]
- def ensuring(cond: (Hashed[T]) ⇒ Boolean): Hashed[T]
- def ensuring(cond: Boolean, msg: ⇒ Any): Hashed[T]
- def ensuring(cond: Boolean): Hashed[T]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- Hashed → AnyRef → Any
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
hashCode: Int
- Definition Classes
- Hashed → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val json: Hashed[T]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val patch: Hashed[T]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val value: T
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (Hashed[T], B)