KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jicengine > operation > StaticValue


1 package org.jicengine.operation;
2
3 /**
4  *
5  *
6  * <p>
7  * Copyright (C) 2004 Timo Laitinen
8  * </p>
9  * @author Timo Laitinen
10  * @created 2004-09-20
11  * @since JICE-0.10
12  *
13  */

14
15 public class StaticValue extends ParameterlessOperation {
16
17     Object JavaDoc value;
18
19     public StaticValue(Object JavaDoc value)
20     {
21         this.value = value;
22     }
23
24     public Object JavaDoc execute(Context context)
25     {
26         return value;
27     }
28 }
29
Popular Tags