Operation.java revision 608:7e06bf1dcb09
1193326Sed/* 2193326Sed * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. 3193326Sed * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4193326Sed * 5193326Sed * This code is free software; you can redistribute it and/or modify it 6193326Sed * under the terms of the GNU General Public License version 2 only, as 7193326Sed * published by the Free Software Foundation. Oracle designates this 8193326Sed * particular file as subject to the "Classpath" exception as provided 9193326Sed * by Oracle in the LICENSE file that accompanied this code. 10193326Sed * 11193326Sed * This code is distributed in the hope that it will be useful, but WITHOUT 12193326Sed * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13193326Sed * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14249423Sdim * version 2 for more details (a copy is included in the LICENSE file that 15249423Sdim * accompanied this code). 16249423Sdim * 17195099Sed * You should have received a copy of the GNU General Public License version 18193326Sed * 2 along with this work; if not, write to the Free Software Foundation, 19212904Sdim * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20212904Sdim * 21212904Sdim * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22249423Sdim * or visit www.oracle.com if you need additional information or have any 23243830Sdim * questions. 24234353Sdim */ 25193326Sedpackage com.sun.corba.se.spi.orb ; 26193326Sed 27193326Sed/** A generic class representing a function that takes a value and returns 28212904Sdim * a value. This is a building block for property parsing. 29212904Sdim */ 30193326Sedpublic interface Operation{ 31193326Sed /** Apply some function to a value and return the result. 32193326Sed */ 33193326Sed Object operate( Object value ) ; 34193326Sed} 35193326Sed