Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

EnumerableMapHarness

State Variables

_map

EnumerableMap.Bytes32ToBytes32Map private _map;

Functions

set

function set(bytes32 key, bytes32 value) public returns (bool);

remove

function remove(bytes32 key) public returns (bool);

contains

function contains(bytes32 key) public view returns (bool);

length

function length() public view returns (uint256);

key_at

function key_at(uint256 index) public view returns (bytes32);

value_at

function value_at(uint256 index) public view returns (bytes32);

tryGet_contains

function tryGet_contains(bytes32 key) public view returns (bool);

tryGet_value

function tryGet_value(bytes32 key) public view returns (bytes32);

get

function get(bytes32 key) public view returns (bytes32);

_positionOf

function _positionOf(bytes32 key) public view returns (uint256);