1 7 8 package com.sun.corba.se.spi.orbutil.closure ; 9 10 import com.sun.corba.se.impl.orbutil.closure.Constant ; 11 import com.sun.corba.se.impl.orbutil.closure.Future ; 12 13 public abstract class ClosureFactory { 14 private ClosureFactory() {} 15 16 public static Closure makeConstant( Object value ) 17 { 18 return new Constant( value ) ; 19 } 20 21 public static Closure makeFuture( Closure value ) 22 { 23 return new Future( value ) ; 24 } 25 } 26 | Popular Tags |