org.abora.white.tumbler
Class SequenceSpace

java.lang.Object
  |
  +--org.abora.white.xpp.basic.Heaper
        |
        +--org.abora.white.spaces.basic.CoordinateSpace
              |
              +--org.abora.white.tumbler.SequenceSpace

public class SequenceSpace
extends CoordinateSpace

The space of all Sequences


Field Summary
protected static SequenceSpace TheSequenceSpace
           
 
Fields inherited from class org.abora.white.spaces.basic.CoordinateSpace
myAscending, myDescending, myEmptyRegion, myFullRegion, myIdentityDsp
 
Constructor Summary
SequenceSpace()
           
 
Method Summary
 SequenceRegion above(Sequence sequence, boolean inclusive)
          Essential.
 int actualHashForEqual()
          is equal to any basic space on the same category of positions
 SequenceRegion below(Sequence sequence, boolean inclusive)
          Essential.
static SequenceSpace implicitReceiver()
          Get the receiver for wire requests.
static void info()
          {SequenceRegion CLIENT} above: sequence {Sequence} with: inclusive {BooleanVar} {SequenceRegion CLIENT} below: sequence {Sequence} with: inclusive {BooleanVar} {SequenceRegion CLIENT} interval: lower {Region} with: upper {Sequence} {SequenceMapping CLIENT} mapping: shift {IntegerVar} with: translation {Sequence} {Sequence CLIENT} position: numbers {PrimIntegerArray} {Sequence CLIENT} position: numbers {PrimIntegerArray | NULL} with: shift {IntegerVar | IntegerVarZero} {SequenceRegion CLIENT} prefixedBy: sequence {Sequence} with: limit {IntegerVar}
static void initTimeNonInherited()
           
 SequenceRegion interval(Sequence start, Sequence stop)
          Return a region of all sequence >= lower and < upper.
 boolean isEqual(Heaper anObject)
          is equal to any basic space on the same category of positions
static void linkTimeNonInherited()
           
static SequenceSpace make()
           
static Heaper make(Rcvr rcvr)
           
 SequenceMapping mapping(IntegerValue shift)
          A transformation which shifts a value by some number of places and then adds a translation to it.
 SequenceMapping mapping(IntegerValue shift, Sequence translation)
          A transformation which shifts a value by some number of places and then adds a translation to it.
 Sequence position(PrimArray numbers)
           
 Sequence position(PrimArray arg, IntegerValue shift)
          Essential.
 SequenceRegion prefixedBy(Sequence sequence, IntegerValue limit)
          Essential.
 void sendSelfTo(Xmtr xmtr)
           
 
Methods inherited from class org.abora.white.spaces.basic.CoordinateSpace
ascending, completeMapping, descending, emptyRegion, fetchAscending, fetchDescending, finishCreate, fullRegion, getAscending, getDescending, identityDsp, identityMapping, verify
 
Methods inherited from class org.abora.white.xpp.basic.Heaper
destroy, destruct, equals, hashForEqual, printContentsOn, printOn, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TheSequenceSpace

protected static SequenceSpace TheSequenceSpace
Constructor Detail

SequenceSpace

public SequenceSpace()
Method Detail

position

public Sequence position(PrimArray numbers)

above

public SequenceRegion above(Sequence sequence,
                            boolean inclusive)
Essential. All sequences >= sequence if inclusive, > sequence if not.


below

public SequenceRegion below(Sequence sequence,
                            boolean inclusive)
Essential. All sequences <= sequence if inclusive, < sequence if not.


interval

public SequenceRegion interval(Sequence start,
                               Sequence stop)
Return a region of all sequence >= lower and < upper.


mapping

public SequenceMapping mapping(IntegerValue shift,
                               Sequence translation)
A transformation which shifts a value by some number of places and then adds a translation to it.


position

public Sequence position(PrimArray arg,
                         IntegerValue shift)
Essential. A sequence using the given numbers and shift. Leading and trailing zeros will be stripped, and a copy will be made so that noone modifies it


prefixedBy

public SequenceRegion prefixedBy(Sequence sequence,
                                 IntegerValue limit)
Essential. All sequences which match the given one up to and including the given index.


actualHashForEqual

public int actualHashForEqual()
is equal to any basic space on the same category of positions

Overrides:
actualHashForEqual in class CoordinateSpace

isEqual

public boolean isEqual(Heaper anObject)
is equal to any basic space on the same category of positions

Specified by:
isEqual in class CoordinateSpace

mapping

public SequenceMapping mapping(IntegerValue shift)
A transformation which shifts a value by some number of places and then adds a translation to it.


sendSelfTo

public void sendSelfTo(Xmtr xmtr)
Overrides:
sendSelfTo in class Heaper

make

public static Heaper make(Rcvr rcvr)

implicitReceiver

public static SequenceSpace implicitReceiver()
Get the receiver for wire requests.


make

public static SequenceSpace make()

initTimeNonInherited

public static void initTimeNonInherited()

linkTimeNonInherited

public static void linkTimeNonInherited()

info

public static void info()
{SequenceRegion CLIENT} above: sequence {Sequence} with: inclusive {BooleanVar} {SequenceRegion CLIENT} below: sequence {Sequence} with: inclusive {BooleanVar} {SequenceRegion CLIENT} interval: lower {Region} with: upper {Sequence} {SequenceMapping CLIENT} mapping: shift {IntegerVar} with: translation {Sequence} {Sequence CLIENT} position: numbers {PrimIntegerArray} {Sequence CLIENT} position: numbers {PrimIntegerArray | NULL} with: shift {IntegerVar | IntegerVarZero} {SequenceRegion CLIENT} prefixedBy: sequence {Sequence} with: limit {IntegerVar}



Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.