interagents
Class finalWrapper

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

public class finalWrapper
extends java.lang.Object


Field Summary
 interagents.implicitHolder implicits
           
 java.lang.String sgn
           
 
Constructor Summary
finalWrapper()
          Constructor as empty object
finalWrapper(interagents.implicitHolder iw)
          Constructor by implicitHolder; trim implicits , flag all KNOWN
finalWrapper(interagents.joinedWrapper jw, interagents.EuLab lab)
          Constructor by joinedWrapper;
finalWrapper(java.util.Vector objs, java.util.Vector newobjs, interagents.EuLab lab)
          Constructor by Vectors
finalWrapper(interagents.wrapItem wi)
          Constructor by wrapItem
 
Method Summary
 boolean can(java.lang.String other)
           
 objects.EuPoint controlPoint(interagents.EuLab lab)
           
 int count()
           
 int countNormal()
           
 boolean findSignature(java.lang.String sgnChoices)
           
 objects.EuArc getArc(int i, interagents.EuLab lab)
          Retrieve an implicit entry as en explicit using the lab.
 objects.EuCircle getCircle(int i, interagents.EuLab lab)
          Retrieve an implicit entry as en explicit using the lab.
 objects.EuHalf getHalf(int i, interagents.EuLab lab)
          Retrieve an implicit entry as en explicit using the lab.
 objects.EuInterval getInterval(int i, interagents.EuLab lab)
          Retrieve an implicit entry as en explicit using the lab.
 java.lang.String getLabel(int i)
           
 objects.EuLine getLine(int i, interagents.EuLab lab)
          Retrieve an implicit entry as en explicit using the lab.
 objects.EuParametrized getParametrized(int i, interagents.EuLab lab)
          Retrieve one implicit entry as an explicit parametrized using the lab.
 objects.EuPoint getPoint(int i, interagents.EuLab lab)
          Retrieve one implicit entry as an explicit point using the lab.
 objects.EuRadius getRadius(int i, interagents.EuLab lab)
          Retrieve an implicit entry as en explicit using the lab.
 boolean hasControl()
           
 java.util.Vector lookup(interagents.EuLab lab)
           
 void merge(interagents.finalWrapper other, interagents.EuLab lab)
          Check contents, not allowing for degeneration
 void merge(interagents.joinedWrapper other, interagents.EuLab lab)
          Resolve, warning for degeneration, using flags
 void merge(interagents.joinedWrapper other, interagents.EuLab lab, boolean warnIfDegenerate)
           
 java.util.Vector parametrizedVector(interagents.EuLab lab)
          Retrieve one implicit entry as an explicit parametrized using the lab.
 objects.EuObject peek(int i, interagents.EuLab lab)
          Retrieve an implicit entry as en explicit using the lab.
 interagents.wrapItem pick(int i)
           
 void prepend(interagents.wrapItem wi)
           
 java.lang.String provenienceList(interagents.EuLab lab)
           
 void setProvenience(java.lang.String provenience, interagents.EuLab lab)
           
 java.lang.String toString()
          Document the contents of the protoWrapper.
 void update(librarian.ppProcessor ppp)
           
 void updateHistory(int[][] history, int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

implicits

public interagents.implicitHolder implicits

sgn

public java.lang.String sgn
Constructor Detail

finalWrapper

public finalWrapper()
Constructor as empty object


finalWrapper

public finalWrapper(interagents.implicitHolder iw)
Constructor by implicitHolder; trim implicits , flag all KNOWN


finalWrapper

public finalWrapper(interagents.wrapItem wi)
Constructor by wrapItem


finalWrapper

public finalWrapper(interagents.joinedWrapper jw,
                    interagents.EuLab lab)
             throws InternalException,
                    DesignException
Constructor by joinedWrapper;


finalWrapper

public finalWrapper(java.util.Vector objs,
                    java.util.Vector newobjs,
                    interagents.EuLab lab)
             throws InternalException,
                    DesignException
Constructor by Vectors

Method Detail

count

public int count()
Returns:
The number of stored objects

countNormal

public int countNormal()
Returns:
The number of stored objects

getLabel

public java.lang.String getLabel(int i)
                          throws DesignException
Parameters:
i - the number of the entry
DesignException

getPoint

public objects.EuPoint getPoint(int i,
                                interagents.EuLab lab)
                         throws DesignException
Retrieve one implicit entry as an explicit point using the lab.

Parameters:
i - the number of the entry
lab - the lab
DesignException

getParametrized

public objects.EuParametrized getParametrized(int i,
                                              interagents.EuLab lab)
                                       throws DesignException
Retrieve one implicit entry as an explicit parametrized using the lab.

Parameters:
i - the number of the entry
lab - the lab
DesignException

parametrizedVector

public java.util.Vector parametrizedVector(interagents.EuLab lab)
                                    throws UserException,
                                           DesignException,
                                           InternalException
Retrieve one implicit entry as an explicit parametrized using the lab.

Parameters:
lab - the lab
UserException
DesignException
InternalException

getLine

public objects.EuLine getLine(int i,
                              interagents.EuLab lab)
                       throws DesignException
Retrieve an implicit entry as en explicit using the lab.

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

getCircle

public objects.EuCircle getCircle(int i,
                                  interagents.EuLab lab)
                           throws DesignException
Retrieve an implicit entry as en explicit using the lab.

Parameters:
i - the number of the entry
lab - the lab
DesignException

getArc

public objects.EuArc getArc(int i,
                            interagents.EuLab lab)
                     throws DesignException
Retrieve an implicit entry as en explicit using the lab.

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

getRadius

public objects.EuRadius getRadius(int i,
                                  interagents.EuLab lab)
                           throws DesignException
Retrieve an implicit entry as en explicit using the lab.

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

getInterval

public objects.EuInterval getInterval(int i,
                                      interagents.EuLab lab)
                               throws DesignException
Retrieve an implicit entry as en explicit using the lab. PHASES: PARK

Parameters:
i - the number of the entry
lab - the lab
DesignException

getHalf

public objects.EuHalf getHalf(int i,
                              interagents.EuLab lab)
                       throws DesignException
Retrieve an implicit entry as en explicit using the lab. PHASES: PARK

Parameters:
i - the number of the entry
lab - the lab
DesignException

peek

public objects.EuObject peek(int i,
                             interagents.EuLab lab)
                      throws InternalException,
                             DesignException
Retrieve an implicit entry as en explicit using the lab. Same as get, but does not care about locks

Parameters:
i - the number of the entry
lab - the lab
Throws:
InternalException - if type discrepancy
DesignException

merge

public void merge(interagents.joinedWrapper other,
                  interagents.EuLab lab)
           throws LeaException
Resolve, warning for degeneration, using flags

Parameters:
lab -
LeaException

merge

public void merge(interagents.joinedWrapper other,
                  interagents.EuLab lab,
                  boolean warnIfDegenerate)
           throws LeaException
LeaException

merge

public void merge(interagents.finalWrapper other,
                  interagents.EuLab lab)
           throws LeaException
Check contents, not allowing for degeneration

Parameters:
lab -
other -
LeaException

update

public void update(librarian.ppProcessor ppp)
            throws DesignException,
                   InternalException
DesignException
InternalException

updateHistory

public void updateHistory(int[][] history,
                          int size)

toString

public java.lang.String toString()
Document the contents of the protoWrapper. PHASES: All

Overrides:
toString in class java.lang.Object

prepend

public void prepend(interagents.wrapItem wi)

can

public boolean can(java.lang.String other)

findSignature

public boolean findSignature(java.lang.String sgnChoices)

pick

public interagents.wrapItem pick(int i)

controlPoint

public objects.EuPoint controlPoint(interagents.EuLab lab)
                             throws InternalException,
                                    DesignException
InternalException
DesignException

hasControl

public boolean hasControl()

lookup

public java.util.Vector lookup(interagents.EuLab lab)

setProvenience

public void setProvenience(java.lang.String provenience,
                           interagents.EuLab lab)
                    throws DesignException
DesignException

provenienceList

public java.lang.String provenienceList(interagents.EuLab lab)