scalax.collection.package.scala Maven / Gradle / Ivy
The newest version!
package scalax
/**
* Contains the base traits and objects needed to use '''Graph for Scala'''.
*
* See also the
* [[http://www.scala-graph.org/guides/core-introduction Graph for Scala Core User Guide]].
*
* @author Peter Empen
*/
package object collection {
/**
* The default filter function for degrees to be included in
* degree calculation always returning true.
*/
val AnyDegree = (degree: Int) => true
/**
* [[scala.collection.Set]] extended by some useful methods in the context of Graph.
*/
type ExtSet[A] = scala.collection.Set[A] with interfaces.ExtSetMethods[A]
/**
* Same as `private[scala] scala.collection.AbstractIterator`.
*/
private[scalax] abstract class AbstractIterator[+A] extends Iterator[A]
protected[scalax] type AnySet[A] = scala.collection.Set[A]
protected[scalax] type MSet[A] = scala.collection.mutable.Set[A]
@inline final protected[scalax] def MSet = scala.collection.mutable.Set
}