edu.ucsb.cs.jicos.services
Class Shared

java.lang.Object
  extended by edu.ucsb.cs.jicos.services.Shared
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IntUpperBound

public abstract class Shared
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Shared()
           
 
Method Summary
abstract  java.lang.Object get()
          Returns the shared Object.
abstract  boolean isNewerThan(Shared shared)
          Is this Shared object newer than the argument Shared object.
 Shared xml2Shared(java.lang.String xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shared

public Shared()
Method Detail

get

public abstract java.lang.Object get()
Returns the shared Object. Its implementation must be synchronized.

Returns:
Returns the shared Object.

isNewerThan

public abstract boolean isNewerThan(Shared shared)
Is this Shared object newer than the argument Shared object. Its implementation must be synchronized.

Parameters:
shared - The Shared Object that is proposed as being "newer": The method operationally defines the meaning of "newer".
Returns:
true if and only if the argument Shared object as newer.

xml2Shared

public Shared xml2Shared(java.lang.String xml)


Jicos: http://cs.ucsb.edu/projects/jicos