Skip to content
Snippets Groups Projects
Commit 3fc4ad07 authored by Justin Loew's avatar Justin Loew
Browse files

Moving changes, please ignore

parent cf1efdf7
No related branches found
No related tags found
No related merge requests found
......@@ -21,9 +21,9 @@ import java.io.OutputStream
import java.nio.ByteBuffer
import java.util.LinkedHashMap
import scala.collection.SortedMap
import scala.collection.mutable
import scala.collection.mutable.ArrayBuffer
import scala.collection.SortedMap
import scala.reflect.ClassTag
import com.google.common.io.ByteStreams
......@@ -92,7 +92,7 @@ private[spark] class MemoryStore(
private class OurBlockIdAndSizeType(
private var blockId: BlockId,
private var size: Long) extends Ordering[OurBlockIdAndSizeType] {
def compare(other: OurBlockIdAndSizeType): Int = this.size compare other.size
def compare(other: OurBlockIdAndSizeType): Int = compare(this.size, other.size)
}
private val entries = new LinkedHashMap[BlockId, MemoryEntry[_]](32, 0.75f, true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment