Nice TWiki > Doc > CodeExamples (r1.9) TWiki webs:
Dev | Doc | Main | TWiki | Sandbox
Doc . { Changes | Index | Search | Go }
This section is a repository for code fragments and programs, for illustration purposes.

Please create a specific page for each example. Its WikiWord should end with the word Example.

Examples for beginners

HelloWorldBeginnerExample?: Setup, compile and run Hello World.

AckermannBeginnerExample?: Setup, compile and run Ackermann's function.

FiboBeginnerExample?: Setup, compile and run Fibonnaci function.

Examples for novices

HashNoviceExample?: HashMap with type parameter <String,Cell>

ListsNoviceExample?: ArrayList with type parameter <int>

MethcallNoviceExample?: Define a class and subclass.

ObjinstNoviceExample?: Import Nice classes from MethcallNoviceExample?.

RandomNoviceExample?: Import Java package.

SieveNoviceExample?: Type inference for array variable.

StrcatNoviceExample?: Type inference for object variable.

CollectionExample: How to use collections with generic types.

More advanced examples

HelloSwingWorld : shows how to write (a little more complex :-) helloworld program.

SwingLibraryExample : shows how to write a GUI program using the Swing Library.

HaskellPreludeExample: Selected parts of the Haskell prelude, lots of functions which are useful when programming in functional style.

LazyVectorExample: A Vector subclass which computes its elements as they are they requested.

Topic CodeExamples . { Edit | Attach | Ref-By | Printable | Diffs | r1.57 | > | r1.56 | > | r1.55 | More }
Revision r1.9 - 27 Aug 2003 - 07:56 GMT - DanielBonniot
Parents: WebHome
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.