01: /* ===========================================================================
02: * $RCSfile: Cons.java,v $
03: * ===========================================================================
04: *
05: * RetroGuard -- an obfuscation package for Java classfiles.
06: *
07: * Copyright (c) 1999 Mark Welsh (markw@retrologic.com)
08: *
09: * 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: // Fields ----------------------------------------------------------------
41: public Object car;
42: public Object cdr;
43:
44: // Instance Methods ---------------------------------------------------------
45: /** Ctor. */
46: public Cons(Object car, Object cdr) {
47: this.car = car;
48: this.cdr = cdr;
49: }
50: }
|