lookup method
- int tag
Returns the payload at tag, or null for invalid or unallocated tags.
Implementation
DataType? lookup(int tag) =>
tag >= 0 && tag < capacity ? _entries[tag] : null;
Returns the payload at tag, or null for invalid or unallocated tags.
DataType? lookup(int tag) =>
tag >= 0 && tag < capacity ? _entries[tag] : null;