com.daylight
Class Sequence

java.lang.Object
  extended by com.daylight.DaylightCppObject
      extended by com.daylight.DaylightObject
          extended by com.daylight.Sequence

public class Sequence
extends DaylightObject

Object representing a sequence


Field Summary
 
Fields inherited from class com.daylight.DaylightCppObject
ref
 
Constructor Summary
Sequence()
          from dt_alloc_seq.
 
Method Summary
 Sequence append(DaylightObject object)
          from dt_append.
 Sequence append(java.lang.String str)
          from dt_append.
 boolean atEnd()
          from dt_atend.
 boolean atStart()
          from dt_atstart.
 Sequence copy()
          from dt_copy.
 void deallocateContents()
          deallocates all objects contained by the sequence.
 void deleteCurrent()
          from dt_delete.
protected  void finalize()
          Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
 Sequence insert(DaylightObject obj)
          from dt_insert.
 DaylightObject next()
          from dt_next.
 void reset()
          from dt_reset.
 int size()
          returns number of objects in the sequence.
 void sort()
          from dt_seqsort.
 void toEnd()
          from dt_toend.
 
Methods inherited from class com.daylight.DaylightObject
appendStringProperty, checkProgramLicense, checkToolkitLicense, clearErrors, disableVirtualHandles, equals, getAdjunct, getAncestor, getBase, getBooleanProperty, getChiralClass, getChiralOrder, getCount, getErrors, getExistingObjectCount, getHandleProperty, getIntegerProperty, getParent, getPropertyNames, getPropertyType, getRealProperty, getRuntimeLibraryCreationDate, getRuntimeLibraryVersion, getStream, getStringProperty, getType, getTypename, getUniqueId, getUniqueIdRange, getWorstErrorType, hashCode, isNullObject, mpInitialize, mpLock, mpTrylock, mpUnlock, saveError, setAdjunct, setBooleanProperty, setHandleProperty, setIntegerProperty, setRealProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sequence

public Sequence()
         throws DaylightException
from dt_alloc_seq. will not deallocate contents when sequence is deallocated. *

Throws:
DaylightException
Method Detail

copy

public Sequence copy()
              throws DaylightException
from dt_copy. *

Throws:
DaylightException

append

public Sequence append(DaylightObject object)
                throws DaylightException
from dt_append. *

Throws:
DaylightException

append

public Sequence append(java.lang.String str)
                throws DaylightException
from dt_append. Convenience function. creates a daylight string object from the string and appends it. *

Throws:
DaylightException

deleteCurrent

public void deleteCurrent()
                   throws DaylightException
from dt_delete.

Throws:
DaylightException

insert

public Sequence insert(DaylightObject obj)
                throws DaylightException
from dt_insert.

Throws:
DaylightException

next

public DaylightObject next()
                    throws DaylightException
from dt_next.

Throws:
DaylightException

reset

public void reset()
           throws DaylightException
from dt_reset.

Throws:
DaylightException

sort

public void sort()
          throws DaylightException
from dt_seqsort.

Throws:
DaylightException

toEnd

public void toEnd()
           throws DaylightException
from dt_toend.

Throws:
DaylightException

atStart

public boolean atStart()
                throws DaylightException
from dt_atstart.

Throws:
DaylightException

atEnd

public boolean atEnd()
              throws DaylightException
from dt_atend.

Throws:
DaylightException

size

public int size()
         throws DaylightException
returns number of objects in the sequence. convenience function.

Throws:
DaylightException

deallocateContents

public void deallocateContents()
                        throws DaylightException
deallocates all objects contained by the sequence. any wrapping objects which reference them will be invalid; use with caution.

Throws:
DaylightException

finalize

protected void finalize()
                 throws java.lang.Throwable
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

Overrides:
finalize in class DaylightObject
Throws:
java.lang.Throwable