alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Scala example source code file (bug2939.scala)

This example Scala source code file (bug2939.scala) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Scala tags/keywords

c2, c3, c3, c4, c4, c5, c6, c7, map, mapproxy, seq, seqproxy, setproxy, setproxy

The Scala bug2939.scala source code

import collection._

object Proxies {
  class C1 extends MapProxy[Int,Int] { def self = Map[Int,Int]() }
  class C2 extends mutable.MapProxy[Int,Int] { def self = mutable.Map[Int,Int]() }
  class C3 extends immutable.MapProxy[Int,Int] { def self = immutable.Map[Int,Int]() }
  
  class C4 extends SetProxy[Int] { def self = Set[Int]() }
  class C5 extends mutable.SetProxy[Int] { def self = mutable.Set[Int]() }
  class C6 extends immutable.SetProxy[Int] { def self = immutable.Set[Int]() }
  
  class C7 extends SeqProxy[Int] { def self = Seq[Int]() }
}

Other Scala examples (source code examples)

Here is a short list of links related to this Scala bug2939.scala source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.