KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > yworks > yguard > obf > Cons


1 /* ===========================================================================
2  * $RCSfile: Cons.java,v $
3  * ===========================================================================
4  *
5  * RetroGuard -- an obfuscation package for Java classfiles.
6  *
7  * Copyright (c) 1999 Mark Welsh (markw@retrologic.com)
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 2 of the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22  *
23  * The author may be contacted at markw@retrologic.com
24  *
25  *
26  * $Date: 2002/10/16 08:14:35 $
27  * $Revision: 1.1.1.1 $
28  */

29 package com.yworks.yguard.obf;
30
31 import java.io.*;
32 import java.util.*;
33
34 /**
35  * A 'cons' of two references -- useful as a generic return grouping from Enumerations.
36  *
37  * @author Mark Welsh
38  */

39 public class Cons
40 {
41     // Fields ----------------------------------------------------------------
42
public Object JavaDoc car;
43     public Object JavaDoc cdr;
44
45
46     // Instance Methods ---------------------------------------------------------
47
/** Ctor. */
48     public Cons(Object JavaDoc car, Object JavaDoc cdr)
49     {
50         this.car = car;
51         this.cdr = cdr;
52     }
53 }
54
Popular Tags