1 /*2 * @(#)Constant.java 1.7 04/06/213 *4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 */7 8 package com.sun.corba.se.impl.orbutil.closure ;9 10 import com.sun.corba.se.spi.orbutil.closure.Closure ;11 12 public class Constant implements Closure {13 private Object value ;14 15 public Constant( Object value ) 16 {17 this.value = value ;18 }19 20 public Object evaluate() 21 {22 return value ;23 }24 }25 26