~eda-qa/dhlib/main

« back to all changes in this revision

Viewing changes to lib/Cloneable.hx

  • Committer: edA-qa mort-ora-y
  • Date: 2010-02-16 05:36:32 UTC
  • Revision ID: eda-qa@disemia.com-20100216053632-60lt7fndfi3fgblw
first

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* <license>
 
2
 * This file is part of the dis-Emi-A HaXe Library. Copyright © edA-qa mort-ora-y
 
3
 * For full copyright and license information please refer to doc/license.txt.
 
4
 * </license> 
 
5
 */
 
6
/**
 
7
 * A class is Cloneable if it defines the clone() function which produces a duplicate
 
8
 * of itself.  Where possible a deep-clone is expected.
 
9
 */
 
10
typedef Cloneable<T> =
 
11
{
 
12
        function clone() : T;
 
13
}