interagents
Class joinedWrapper

java.lang.Object
  |
  +--interagents.joinedWrapper

public class joinedWrapper
extends java.lang.Object


Field Summary
 interagents.explicitHolder explicits
           
 interagents.implicitHolder implicits
           
 
Constructor Summary
joinedWrapper()
          Construct empty wrapper
joinedWrapper(interagents.explicitHolder explicits, interagents.EuLab lab)
          Construct by translating another wrapper; may take over parts of other Take over explicits, update implicits by holding up explicits to lab
joinedWrapper(interagents.implicitHolder implicits, interagents.EuLab lab)
          Construct by translating another wrapper; may take over parts of other
 
Method Summary
 void add(objects.EuObject o)
          Add an entry.
 void addProvenience(java.lang.String provenience)
           
 int compare(interagents.finalWrapper preout)
           
 int count()
           
 void forgetAt(int i)
          Forget an entry.
 objects.EuObject get(int i)
          Retrieve an explicit entry.
 objects.EuArc getArc(int i)
          Retrieve an explicit entry.
 objects.EuCircle getCircle(int i)
          Retrieve an explicit entry.
 objects.EuHalf getHalf(int i)
          Retrieve an explicit entry.
 objects.EuInterval getInterval(int i)
          Retrieve an explicit entry.
 objects.EuLine getLine(int i)
          Retrieve an explicit entry.
 objects.EuPoint getPoint(int i)
          Retrieve an explicit entry.
 objects.EuRadius getRadius(int i)
          Retrieve an explicit entry.
 boolean orderedByImplicitNumber(int i, int j)
          Sort two entries according to their @see EuLab number.
 boolean orderedByNewness(int i, int j)
          Sort two entries according to their flag.
 void swap(int i, int j)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

implicits

public interagents.implicitHolder implicits

explicits

public interagents.explicitHolder explicits
Constructor Detail

joinedWrapper

public joinedWrapper()
Construct empty wrapper


joinedWrapper

public joinedWrapper(interagents.implicitHolder implicits,
                     interagents.EuLab lab)
              throws DesignException
Construct by translating another wrapper; may take over parts of other

Parameters:
lab - in which to look up explicits

joinedWrapper

public joinedWrapper(interagents.explicitHolder explicits,
                     interagents.EuLab lab)
              throws InternalException,
                     DesignException
Construct by translating another wrapper; may take over parts of other Take over explicits, update implicits by holding up explicits to lab

Parameters:
lab - in which to look up explicits
Method Detail

count

public int count()

forgetAt

public void forgetAt(int i)
Forget an entry.

Parameters:
i - the number of the entry

add

public void add(objects.EuObject o)
         throws InternalException
Add an entry.

Parameters:
o - the entry
Throws:
InternalException - if wrong phase

orderedByImplicitNumber

public boolean orderedByImplicitNumber(int i,
                                       int j)
                                throws InternalException
Sort two entries according to their @see EuLab number. PHASES: STOP

Parameters:
i - the number of the first entry
j - the number of the second entry
Throws:
InternalException - if wrong phase

orderedByNewness

public boolean orderedByNewness(int i,
                                int j)
                         throws InternalException
Sort two entries according to their flag. PHASES: STOP

Parameters:
i - the number of the first entry
j - the number of the second entry
Throws:
InternalException - if wrong phase

get

public objects.EuObject get(int i)
                     throws InternalException
Retrieve an explicit entry.

Parameters:
i - the number of the entry
Throws:
InternalException - if wrong phase

getPoint

public objects.EuPoint getPoint(int i)
                         throws InternalException
Retrieve an explicit entry.

Parameters:
i - the number of the entry
Throws:
InternalException - if wrong phase

getLine

public objects.EuLine getLine(int i)
                       throws InternalException
Retrieve an explicit entry.

Parameters:
i - the number of the entry
Throws:
InternalException - if wrong phase

getCircle

public objects.EuCircle getCircle(int i)
                           throws InternalException
Retrieve an explicit entry.

Parameters:
i - the number of the entry
Throws:
InternalException - if wrong phase

getArc

public objects.EuArc getArc(int i)
                     throws InternalException
Retrieve an explicit entry.

Parameters:
i - the number of the entry
Throws:
InternalException - if wrong phase

getRadius

public objects.EuRadius getRadius(int i)
                           throws InternalException
Retrieve an explicit entry.

Parameters:
i - the number of the entry
Throws:
InternalException - if wrong phase

getInterval

public objects.EuInterval getInterval(int i)
                               throws InternalException
Retrieve an explicit entry.

Parameters:
i - the number of the entry
Throws:
InternalException - if wrong phase

getHalf

public objects.EuHalf getHalf(int i)
                       throws InternalException
Retrieve an explicit entry.

Parameters:
i - the number of the entry
Throws:
InternalException - if wrong phase

swap

public void swap(int i,
                 int j)

compare

public int compare(interagents.finalWrapper preout)
Returns:
1 if o[0]=this[0] (and o[1]=this[1]), -1 if other way around, 0 if mismatch

addProvenience

public void addProvenience(java.lang.String provenience)