class EL_INTEGER_8_SPARSE_ARRAY

(source code)

Client examples: BASE_AUTOTEST_APP

description

Sparse array table with INTEGER_8 keys

note
	description: "Sparse array table with ${INTEGER_8} keys"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2025-04-28 11:43:06 GMT (Monday 28th April 2025)"
	revision: "3"

class
	EL_INTEGER_8_SPARSE_ARRAY [G]

inherit
	EL_SPARSE_ARRAY_TABLE [G, INTEGER_8]

create
	make, make_empty

feature {NONE} -- Implementation

	as_integer (key: INTEGER_8): INTEGER
		do
			Result := key.to_integer_32
		end

	index_to_key (index: INTEGER): INTEGER_8
		do
			Result := index.to_integer_8
		end

end