public class HashCodeCollider$
extends java.lang.Object
Adapted from MIT-licensed code by Andriy Plokhotnyuk at https://github.com/plokhotnyuk/jsoniter-scala/blob/26b5ecdd4f8c2ab7e97bd8106cefdda4c1e701ce/jsoniter-scala-benchmark/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/macros/HashCodeCollider.scala#L6.
Modifier and Type | Field and Description |
---|---|
static HashCodeCollider$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
HashCodeCollider$() |
Modifier and Type | Method and Description |
---|---|
scala.collection.Iterator<java.lang.Object> |
asciiChars() |
scala.collection.Iterator<scala.Tuple2<java.lang.Object,java.lang.Object>> |
asciiCharsAndHash(int previousHash) |
scala.collection.immutable.IndexedSeq<java.lang.Object> |
visibleChars() |
scala.collection.Iterator<java.lang.String> |
zeroHashCodeIterator()
Creates an iterator of Strings that all have hashCode == 0
|
public static final HashCodeCollider$ MODULE$
public scala.collection.immutable.IndexedSeq<java.lang.Object> visibleChars()
public scala.collection.Iterator<java.lang.Object> asciiChars()
public scala.collection.Iterator<scala.Tuple2<java.lang.Object,java.lang.Object>> asciiCharsAndHash(int previousHash)
public scala.collection.Iterator<java.lang.String> zeroHashCodeIterator()