Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: heroku-devcent…
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 16 lines (13 sloc) 0.49 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package com.typesafe.webwords.common

/**
* This is the information we scrape about a URL.
* Links found on the site, and word counts of words on the site.
*/
case class Index(links: Seq[(String, String)],
    wordCounts: Seq[(String, Int)]) {

    // the default toString for a case class would recursively show
    // the entire lists, which is not convenient. so override.
    override def toString = {
        "Index(" + links.size + " links," + wordCounts.size + " counts)"
    }
}
Something went wrong with that request. Please try again.