class LINKED_SET [G] General cluster: base description: "Sets implemented by linked lists" create: make Ancestors LINEAR_SUBSET* [G] LINKED_LIST [G] Queries after: BOOLEAN before: BOOLEAN changeable_comparison_criterion: BOOLEAN count: INTEGER_32 cursor: LINKED_LIST_CURSOR [G] disjoint (other: TRAVERSABLE_SUBSET [G]): BOOLEAN duplicate (n: INTEGER_32): [like Current] LINKED_SET [G] exhausted: BOOLEAN Extendible: BOOLEAN first: [like item] G for_all (test: FUNCTION [ANY, TUPLE [G], BOOLEAN]): BOOLEAN Full: BOOLEAN has (v: [like item] G): BOOLEAN i_th alias "[]" (i: INTEGER_32): [like item] G index: INTEGER_32 index_of (v: [like item] G; i: INTEGER_32): INTEGER_32 index_set: INTEGER_INTERVAL infix "@" (i: INTEGER_32): [like item] G is_empty: BOOLEAN is_equal (other: [like Current] LINKED_SET [G]): BOOLEAN is_inserted (v: G): BOOLEAN is_subset (other: TRAVERSABLE_SUBSET [G]): BOOLEAN is_superset (other: SUBSET [G]): BOOLEAN isfirst: BOOLEAN islast: BOOLEAN item: G last: [like item] G linear_representation: LINEAR [G] object_comparison: BOOLEAN occurrences (v: [like item] G): INTEGER_32 off: BOOLEAN prunable: BOOLEAN readable: BOOLEAN sequential_occurrences (v: [like item] G): INTEGER_32 there_exists (test: FUNCTION [ANY, TUPLE [G], BOOLEAN]): BOOLEAN valid_cursor (p: CURSOR): BOOLEAN valid_cursor_index (i: INTEGER_32): BOOLEAN valid_index (i: INTEGER_32): BOOLEAN writable: BOOLEAN Commands append (s: SEQUENCE [G]) back compare_objects compare_references copy (other: [like Current] LINKED_SET [G]) do_all (action: PROCEDURE [ANY, TUPLE [G]]) do_if (action: PROCEDURE [ANY, TUPLE [G]]; test: FUNCTION [ANY, TUPLE [G], BOOLEAN]) extend (v: G) fill (other: CONTAINER [G]) finish force (v: [like item] G) forth go_i_th (i: INTEGER_32) go_to (p: CURSOR) intersect (other: TRAVERSABLE_SUBSET [G]) merge (other: CONTAINER [G]) merge_left (other: [like Current] LINKED_SET [G]) merge_right (other: [like Current] LINKED_SET [G]) move (i: INTEGER_32) move_item (v: G) prune (v: [like item] G) prune_all (v: [like item] G) put (v: G) put_front (v: [like item] G) put_i_th (v: [like item] G; i: INTEGER_32) put_left (v: [like item] G) put_right (v: [like item] G) remove remove_left remove_right replace (v: [like item] G) search (v: [like item] G) start subtract (other: TRAVERSABLE_SUBSET [G]) swap (i: INTEGER_32) symdif (other: TRAVERSABLE_SUBSET [G]) wipe_out