object OneOrMore extends NonEmptyFactory[OneOrMore] with Serializable
- Alphabetic
- By Inheritance
- OneOrMore
- Serializable
- NonEmptyFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- object Seq
Optional extractor to get a
Seqextracted.Optional extractor to get a
Seqextracted.- Definition Classes
- NonEmptyFactory
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[A](head: A, more: A*): OneOrMore[A]
Factory to pass elements individually.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def from[A](source: IterableOnce[A]): Option[OneOrMore[A]]
Some[OneOrMore]populated with the elements ofsourceif it contains at least one element, otherwiseNone.Some[OneOrMore]populated with the elements ofsourceif it contains at least one element, otherwiseNone.- Definition Classes
- OneOrMore → NonEmptyFactory
- def fromUnsafe[A](source: IterableOnce[A]): OneOrMore[A]
Creates a
OneOrMore[A]populated with the elements ofsourcein a non-safe way.Creates a
OneOrMore[A]populated with the elements ofsourcein a non-safe way.- Definition Classes
- OneOrMore → NonEmptyFactory
- Exceptions thrown
IllegalArgumentExceptionifsourceis empty.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def more[A](head: A, _2: A, more: A*): OneOrMore[A]
Factory to create a
OneOrMorecontaining at leas the two elementsheadand_2. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def one[A](head: A): OneOrMore[A]
Factory to create a
OneOrMorecontaining the single elementhead. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Welcome to the Graph for Scala API reference. Some suggested entry points:
AnyGraphimmutable.Graphand its inner nodesmutable.Graphand its inner nodes.edgespackage and its subpackageshyperedgespackage and its subpackages.labeled edgespackagemultilabeled edgespackagelabeled hyperedgespackagemultilabeled hyperedgespackageordered labeled hyperedgespackageordered multilabeled hyperedgesobjectgenericpackage.GraphTraversalandTraverserInnerNode.RandomGraph.GraphGen.