Sign in

    wqbcs/moon_collections/compactintmap does not have a README file

    CompactIntMap

    pub struct CompactIntMap[V] {
    entries : Array[(Int, V)]
    fp_cache : UInt64
    fp_dirty : Bool
    } derive(
    Debug
    )

    impl Eq for CompactIntMap[V]

    CompactIntMap::ceil_key

    fn[V] CompactIntMap::ceil_key(self : CompactIntMap[V], key : Int) -> Int?

    CompactIntMap::clear

    fn[V] CompactIntMap::clear(self : CompactIntMap[V]) -> Unit

    CompactIntMap::clone

    fn[V] CompactIntMap::clone(self : CompactIntMap[V]) -> CompactIntMap[V]

    CompactIntMap::contains

    fn[V] CompactIntMap::contains(self : CompactIntMap[V], key : Int) -> Bool

    CompactIntMap::each

    fn[V] CompactIntMap::each(self : CompactIntMap[V], f : (Int, V) -> Unit) -> Unit

    CompactIntMap::floor_key

    fn[V] CompactIntMap::floor_key(self : CompactIntMap[V], key : Int) -> Int?

    CompactIntMap::from_array

    fn[V] CompactIntMap::from_array(pairs : Array[(Int, V)]) -> CompactIntMap[V]

    CompactIntMap::get

    fn[V] CompactIntMap::get(self : CompactIntMap[V], key : Int) -> V?

    CompactIntMap::get_or_insert

    fn[V] CompactIntMap::get_or_insert(self : CompactIntMap[V], key : Int, default : V) -> V

    CompactIntMap::get_or_insert_with

    fn[V] CompactIntMap::get_or_insert_with(self : CompactIntMap[V], key : Int, default_fn : () -> V) -> V

    CompactIntMap::insert

    fn[V] CompactIntMap::insert(self : CompactIntMap[V], key : Int, value : V) -> V?

    CompactIntMap::is_empty

    fn[V] CompactIntMap::is_empty(self : CompactIntMap[V]) -> Bool

    CompactIntMap::iter

    fn[V] CompactIntMap::iter(self : CompactIntMap[V]) -> Iter[(Int, V)]

    CompactIntMap::keys

    fn[V] CompactIntMap::keys(self : CompactIntMap[V]) -> Iter[Int]

    CompactIntMap::keys_array

    fn[V] CompactIntMap::keys_array(self : CompactIntMap[V]) -> Array[Int]

    CompactIntMap::len

    fn[V] CompactIntMap::len(self : CompactIntMap[V]) -> Int

    CompactIntMap::max_key

    fn[V] CompactIntMap::max_key(self : CompactIntMap[V]) -> Int?

    CompactIntMap::min_key

    fn[V] CompactIntMap::min_key(self : CompactIntMap[V]) -> Int?

    CompactIntMap::new

    fn[V] CompactIntMap::new() -> CompactIntMap[V]

    CompactIntMap::remove

    fn[V] CompactIntMap::remove(self : CompactIntMap[V], key : Int) -> V?

    CompactIntMap::retain

    fn[V] CompactIntMap::retain(self : CompactIntMap[V], pred : (Int, V) -> Bool) -> Unit

    CompactIntMap::to_array

    fn[V] CompactIntMap::to_array(self : CompactIntMap[V]) -> Array[(Int, V)]

    CompactIntMap::update

    fn[V] CompactIntMap::update(self : CompactIntMap[V], key : Int, f : (V) -> V) -> Bool

    CompactIntMap::values

    fn[V] CompactIntMap::values(self : CompactIntMap[V]) -> Iter[V]

    CompactIntMap::values_array

    fn[V] CompactIntMap::values_array(self : CompactIntMap[V]) -> Array[V]

    Source Files