19.11.2014 Views

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

40.13 <strong>The</strong> Trait <strong>Fortress</strong>.Core.BasicBinaryHeapSubsequenceOperations<br />

trait BasicBinaryHeapSubsequenceOperations<br />

T extends BasicBinaryHeapSubsequenceOperationsT,bigEndianSequence,<br />

bool bigEndianSequence<br />

copy(selfStart: IndexInt,source:T,sourceStart: IndexInt,length: IndexInt):()<br />

throws { IndexOutOfBoundsException }<br />

wrappingAdd(selfStart: IndexInt,source:T,sourceStart: IndexInt,length: IndexInt):()<br />

throws { IndexOutOfBoundsException }<br />

add(selfStart:IndexInt,source: T,sourceStart: IndexInt,<br />

length: IndexInt,carryIn: Bit = 0):Bit<br />

throws { IndexOutOfBoundsException }<br />

signedAdd(selfStart: IndexInt,source: T,sourceStart: IndexInt,<br />

length: IndexInt,overflowAction: () → ()):()<br />

throws { IndexOutOfBoundsException }<br />

unsignedAdd(selfStart: IndexInt,source: T,sourceStart:IndexInt,<br />

length: IndexInt,overflowAction: () → ()):()<br />

throws { IndexOutOfBoundsException }<br />

saturatingSignedAdd(selfStart:IndexInt,source: T,sourceStart: IndexInt,length: IndexInt):()<br />

throws { IndexOutOfBoundsException }<br />

saturatingUnsignedAdd(selfStart: IndexInt,source: T,sourceStart: IndexInt,length: IndexInt):()<br />

throws { IndexOutOfBoundsException }<br />

wrappingSubtract(selfStart:IndexInt,source: T,sourceStart: IndexInt,length: IndexInt):()<br />

throws { IndexOutOfBoundsException }<br />

subtract(selfStart: IndexInt,source: T,sourceStart: IndexInt,<br />

length: IndexInt,carryIn:Bit = 1):Bit<br />

throws { IndexOutOfBoundsException }<br />

signedSubtract(selfStart: IndexInt,source:T,sourceStart: IndexInt,<br />

length: IndexInt,overflowAction:() → ()):()<br />

throws { IndexOutOfBoundsException }<br />

unsignedSubtract(selfStart: IndexInt,source: T,sourceStart:IndexInt,<br />

length:IndexInt,overflowAction: () → ()):()<br />

throws { IndexOutOfBoundsException }<br />

saturatingSignedSubtract(selfStart:IndexInt,source: T,sourceStart: IndexInt,<br />

length: IndexInt):()<br />

throws { IndexOutOfBoundsException }<br />

saturatingUnsignedSubtract(selfStart: IndexInt,source:T,sourceStart: IndexInt,<br />

length: IndexInt):()<br />

throws { IndexOutOfBoundsException }<br />

wrappingNegate(selfStart: IndexInt,length: IndexInt): ()<br />

throws { IndexOutOfBoundsException }<br />

negate(selfStart: IndexInt,length: IndexInt,carryIn: Bit = 1):Bit<br />

throws { IndexOutOfBoundsException }<br />

signedNegate(selfStart:IndexInt,length:IndexInt,overflowAction: () → ()):()<br />

throws { IndexOutOfBoundsException }<br />

unsignedNegate(selfStart: IndexInt,length: IndexInt,overflowAction:() → ()):()<br />

throws { IndexOutOfBoundsException }<br />

saturatingSignedNegate(selfStart: IndexInt,length: IndexInt): ()<br />

throws { IndexOutOfBoundsException }<br />

bitNot(selfStart: IndexInt,length: IndexInt): ()<br />

throws { IndexOutOfBoundsException }<br />

304

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!