IPMapMutable

fm.common.IPMapMutable
See theIPMapMutable companion object
final class IPMapMutable[T] extends IPMap[T] with BuilderCompat[(IPOrSubnet, T), IPMapImmutable[T]]

Attributes

Companion:
object
Graph
Supertypes
trait Builder[(IPOrSubnet, T), IPMapImmutable[T]]
trait Growable[(IPOrSubnet, T)]
trait Clearable
trait IPMap[T]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def ++=(other: IPMap[T]): IPMapMutable.this.type
def addOne(ip: String, value: T): IPMapMutable.this.type
override def addOne(ipAndValue: (IPOrSubnet, T)): IPMapMutable.this.type

Attributes

Definition Classes
Growable
def addOne(ip: IPOrSubnet, value: T): IPMapMutable.this.type
override def clear(): Unit

Attributes

Definition Classes
Builder -> Clearable
override def result(): IPMapImmutable[T]

Attributes

Definition Classes
Builder

Inherited methods

final def ++=(elems: TraversableOnce[(IPOrSubnet, T)]): GrowableCompat.this.type

Attributes

Inherited from:
GrowableCompat
final def ++=(xs: IterableOnce[(IPOrSubnet, T)]): Growable.this.type

Attributes

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

Attributes

Inherited from:
Growable
def addAll(elems: TraversableOnce[(IPOrSubnet, T)]): GrowableCompat.this.type

Attributes

Inherited from:
GrowableCompat
def addAll(xs: IterableOnce[(IPOrSubnet, T)]): Growable.this.type

Attributes

Inherited from:
Growable
final def apply(ip: IP): T

Attributes

Inherited from:
IPMap
final def apply(ip: String): T

Attributes

Inherited from:
IPMap
final def contains(ip: IP): Boolean

Attributes

Inherited from:
IPMap
final def contains(ip: String): Boolean

Attributes

Inherited from:
IPMap
final def containsExact(subnet: IPOrSubnet): Boolean

Does this IPMap exactly contain the given subnet

Does this IPMap exactly contain the given subnet

Attributes

Inherited from:
IPMap
final def exact(ip: IPOrSubnet): T

Attributes

Inherited from:
IPMap
final def get(ip: IP): Option[T]

Attributes

Inherited from:
IPMap
final def get(ip: String): Option[T]

Attributes

Inherited from:
IPMap
final def getExact(ip: IPOrSubnet): Option[T]

Attributes

Inherited from:
IPMap
final def isEmpty: Boolean

Attributes

Inherited from:
IPMap
def knownSize: Int

Attributes

Inherited from:
Growable
def mapResult[NewTo](f: IPMapImmutable[T] => NewTo): Builder[A, NewTo]

Attributes

Inherited from:
Builder
final def sizeHint(coll: IterableOnce[_], delta: Int): Unit

Attributes

Inherited from:
Builder
def sizeHint(size: Int): Unit

Attributes

Inherited from:
Builder
final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit

Attributes

Inherited from:
Builder

Deprecated and Inherited methods

final def +=(elem1: (IPOrSubnet, T), elem2: (IPOrSubnet, T), elems: (IPOrSubnet, T)*): 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