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

Scala example source code file (Dynamic.scala)

This example Scala source code file (Dynamic.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

dynamic, dynamic

The Scala Dynamic.scala source code

package scala

/** A marker trait that enables dynamic invocations. Instances `x` of this trait
 *  allow calls `x.meth(args)` for arbitrary method names `meth` and argument lists
 *  `args`.  If a call is not natively supported by `x`, it is rewritten to
 *  `x.applyDynamic("meth", args)`.
 *
 *  As of scala 2.9, scalac must receive the -Xexperimental optional for Dynamic
 *  to receive this treatment.
 */
trait Dynamic


Other Scala examples (source code examples)

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

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

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 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.