[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

ByteList

inherits from FixedList

Object <- FixedList <- ByteList



Operations

Get list of all operations

AddByteAt
AddByteLast
ByteAt
FindByte
ReplaceByteAt


Attributes

Get list of all attributes

Stride


Fields

No fields are defined by ByteList or any of its superclasses.


Instance template

instance ByteList tag;
end instance;

Class definition

 
Define Class ByteList;
    inherits from FixedList;
    uses extra list: SignedByte;

    // getting
    operation ByteAt(index: Unsigned): UnsignedByte, noFail;
    
    // adding and removing
    operation ReplaceByteAt(index: Unsigned; byte: UnsignedByte);
    operation AddByteAt(index: Unsigned; byte: UnsignedByte);
    operation AddByteLast(byte: UnsignedByte);
    
    // finding
    operation FindByte(byte: UnsignedByte): Unsigned, noFail;
    
    overrides Stride;
        // overridden to return 1
end class;