Class: AutoC::HashMap::HashSet
- Inherits:
-
AutoC::HashSet
- Object
- Type
- Composite
- Collection
- Set
- AutoC::HashSet
- AutoC::HashMap::HashSet
- Defined in:
- lib/autoc/hash_map.rb
Constant Summary
Constants inherited from Composite
Composite::DEFINITIONS, Composite::PRIVATE
Constants included from Entity
Constants included from STD
STD::ASSERT_H, STD::BOOL, STD::CHAR, STD::COMPLEX, STD::COMPLEX_H, STD::DOUBLE, STD::DOUBLE_COMPLEX, STD::DOUBLE_T, STD::FLOAT, STD::FLOAT_COMPLEX, STD::FLOAT_T, STD::INT, STD::INTMAX_T, STD::INTPTR_T, STD::INTTYPES_H, STD::LONG, STD::LONG_DOUBLE, STD::LONG_DOUBLE_COMPLEX, STD::LONG_LONG, STD::MALLOC_H, STD::MATH_H, STD::PTRDIFF_T, STD::SHORT, STD::SIGNED_CHAR, STD::SIZE_T, STD::STDBOOL_H, STD::STDDEF_H, STD::STDLIB_H, STD::STRING_H, STD::UINTMAX_T, STD::UINTPTR_T, STD::UNSIGNED, STD::UNSIGNED_CHAR, STD::UNSIGNED_LONG, STD::UNSIGNED_LONG_LONG, STD::UNSIGNED_SHORT, STD::WCHAR_T
Instance Attribute Summary collapse
-
#_index ⇒ Object
readonly
Returns the value of attribute _index.
Attributes inherited from Collection
Attributes inherited from Composite
Attributes inherited from Type
Instance Method Summary collapse
- #_slot_class ⇒ Object
-
#initialize(*args, **kws) ⇒ HashSet
constructor
A new instance of HashSet.
Methods inherited from AutoC::HashSet
#_bin, #_bin_class, #_find_slot_hash, #_slot, #range, #render_interface
Methods inherited from Set
Methods inherited from Collection
#comparable?, #copyable?, #destructible?, #hashable?, new, #orderable?, #type_tag
Methods inherited from Composite
allocator, allocator=, #const_lvalue, #const_rvalue, decorator, decorator=, #defgroup, #hasher, hasher, hasher=, #identifier, #ingroup, #inspect, #internal?, #lvalue, #memory, new, #prefix, #private?, #public?, #respond_to_missing?, #rvalue, #to_value, #type_tag
Methods included from Entity
#<=>, #complexity, #dependencies, #forward_declarations, #implementation, #interface, #position, #references, #total_dependencies, #total_references
Methods inherited from Type
abstract, #comparable?, #constructible?, #copy, #copyable?, #custom_constructible?, #custom_create, #default_constructible?, #default_create, #destroy, #destructible?, #hashable?, #inspect, #orderable?, #to_s, #to_type
Constructor Details
#initialize(*args, **kws) ⇒ HashSet
Returns a new instance of HashSet.
195 196 197 198 199 |
# File 'lib/autoc/hash_map.rb', line 195 def initialize(*args, **kws) super _map = _master # this set is a subcomponent of the map @_index = _map.index end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class AutoC::Composite
Instance Attribute Details
#_index ⇒ Object (readonly)
Returns the value of attribute _index.
193 194 195 |
# File 'lib/autoc/hash_map.rb', line 193 def _index @_index end |
Instance Method Details
#_slot_class ⇒ Object
191 |
# File 'lib/autoc/hash_map.rb', line 191 def _slot_class = HashMap::List |