Mutable

org.encalmo.data.Mutable
trait Mutable[N] extends Growable[(N, N)], Shrinkable[(N, N)]

Mutable graph add-on

Attributes

Graph
Supertypes
trait Shrinkable[(N, N)]
trait Growable[(N, N)]
trait Clearable
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Abstract methods

def remove(node: N): this.type
def transform(f: (N, ArrayBuffer[N]) => ArrayBuffer[N]): this.type
def update(node: N, adjacent: ArrayBuffer[N]): this.type

Inherited methods

final def ++=(elems: IterableOnce[(N, N)]): Growable.this.type

Attributes

Inherited from:
Growable
final def +=(elem: (N, N)): Growable.this.type

Attributes

Inherited from:
Growable
final def --=(xs: IterableOnce[(N, N)]): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
final def -=(elem: (N, N)): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
def addAll(elems: IterableOnce[(N, N)]): Growable.this.type

Attributes

Inherited from:
Growable
def knownSize: Int

Attributes

Inherited from:
Growable
def subtractAll(xs: IterableOnce[(N, N)]): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable

Inherited and Abstract methods

def addOne(elem: (N, N)): Growable.this.type

Attributes

Inherited from:
Growable
def clear(): Unit

Attributes

Inherited from:
Clearable
def subtractOne(elem: (N, N)): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable

Deprecated and Inherited methods

final def +=(elem1: (N, N), elem2: (N, N), elems: (N, N)*): Growable.this.type

Attributes

Deprecated
[Since version 2.13.0] Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Growable
def -=(elem1: (N, N), elem2: (N, N), elems: (N, N)*): Shrinkable.this.type

Attributes

Deprecated
[Since version 2.13.3] Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Shrinkable