object SpaceSaver
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SpaceSaver
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[T](capacity: Int, item: T, count: Long): SpaceSaver[T]
Construct SpaceSaver with given capacity containing a single item with provided exact count.
Construct SpaceSaver with given capacity containing a single item with provided exact count. This is the public api to create a new SpaceSaver.
- def apply[T](capacity: Int, item: T): SpaceSaver[T]
Construct SpaceSaver with given capacity containing a single item.
Construct SpaceSaver with given capacity containing a single item. This is the public api to create a new SpaceSaver.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromByteBuffer[T](bb: ByteBuffer, tDeserializer: (ByteBuffer) => Try[T]): Try[SpaceSaver[T]]
- def fromBytes[T](bytes: Array[Byte], tDeserializer: (Array[Byte]) => Try[T]): Try[SpaceSaver[T]]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def spaceSaverSemiGroup[T]: Semigroup[SpaceSaver[T]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toBytes[T](ss: SpaceSaver[T], tSerializer: (T) => Array[Byte]): Array[Byte]
Encodes the SpaceSaver as a sequence of bytes containing in order - 1 byte: 1/2 => 1 = SSOne, 2 = SSMany - 4 bytes: the capacity - N bytes: the item/counters (counters as length + N*(item size + item + 2 * counters)
- def toString(): String
- 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
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()