Frama-C API - Make
Parameters
Signature
Number of elements in the collection. Constant time.
val mem : E.t -> t -> bool
val get : int -> t -> E.t
raises Not_found. Log complexity.
val index : E.t -> t -> int
raise Not_found. Log complexity.
val remove : E.t -> t -> t
val filter : (E.t -> bool) -> t -> t
val update : E.t option -> E.t option -> t -> int * int * t
update x y t
replaces x
by y
and returns the range a..b
of modified indices. Log complexity.
val iter : (E.t -> unit) -> t -> unit
val iteri : (int -> E.t -> unit) -> t -> unit