SeqLike

ostrat.SeqLike
trait SeqLike[+A]

Sequence-defined efficient final classes backed by Arrays, ArrayBuffers etc. Includes actual sequences both mutable and immutable as well as classes such as polygons and line paths that are defined by a sequence of data elements. So for example a Polygon in the Geom module is defined by a sequence of points, but is a different type to the Pt2s class which is the immutable sequence class for 2 dimensional points. includes expandable buffers.

Attributes

Graph
Supertypes
class Any
Known subtypes
trait RefsSeqLike[A]
class RArr[A]
trait TCenLayer[A]
class HCenLayer[A]
class SqCenLayer[A]
trait SeqSpec[A]
trait ValueNSeqSpec[A]
trait DblNSeqSpec[A]
trait Dbl2SeqSpec[A]
trait LinePathDbl2[A]
class LinePath
class LinePathM
trait Polygon
trait HexReg
class HexRegImp
trait Hexlign
class HexParrX
class HexParrY
trait Rectangle
class PhiRect
class PhiRectY
trait Rect
class RectImp
class Sqlign
trait Square
class SquareImp
trait Triangle
trait PolygonLikeDbl2[VT]
class PolygonM2
class PolygonLL
trait Dbl3SeqSpec[A]
trait LinePathDbl3[A]
trait PolygonLikeDbl3[VT]
class PolygonM3
trait Dbl4SeqSpec[A]
trait Dbl5SeqSpec[A]
trait Dbl6SeqSpec[A]
trait Dbl7SeqSpec[A]
trait LinePathDblN[A]
trait PolygonLikeDblN[VT]
trait IntNSeqSpec[A]
trait Int1SeqSpec[A]
trait Int2SeqSpec[A]
trait LinePathInt2[A]
trait PolygonLikeInt2[VT]
class PolygonHC
trait Int3SeqSpec[A]
trait Int4SeqSpec[A]
trait LinePathIntN[A]
trait PolygonLikeIntN[VT]
trait LongNSeqSpec[A]
trait LongNArr[A]
trait Long1Arr[A]
trait PolygonValueN[VT]
trait LinePathLike[A]
trait PolygonLike[VT]
trait Sequ[A]
trait Arr[A]
trait ArrSingle[A]
class AnyArr
class CharArr
class DblArr
class FloatArr
class IntArr
class LongArr
class StringArr
trait ValueNArr[A]
trait DblNArr[A]
trait Dbl1Arr[A]
class Angles
trait Dbl2Arr[A]
class MyDbl2s
class Pt2Arr
class Vec2MArr
class Vec2s
trait Dbl3Arr[A]
class Pt3Arr
class PtM3Arr
trait Dbl4Arr[A]
trait LineSegLikeDbl4Arr[VT, A]
trait Dbl5Arr[A]
trait Dbl6Arr[A]
trait LineSegLikeDbl6Arr[VT, A]
trait Dbl7Arr[A]
trait LineSegLikeDblNArr[VT, A]
trait IntNArr[A]
trait Int1Arr[A]
class Colours
class HDirnArr
trait Int2Arr[A]
class Coods
class HCenArr
class HCoordArr
class HSideArr
class HVertArr
class SqCens
class SqVertArr
trait Int3Arr[A]
trait Int4Arr[A]
class CoodLines
trait ArrayDblArr[A]
trait PairArr[A1, A1Arr, A2, A]
trait ArrayIntBackedPairArr[A1, ArrA1, A2, A]
trait SeqLikeIntNPairArr[A1E, A1, ArrA1, A2, A]
trait PolygonLikeIntNPairArr[A1V, A1, ArrA1, A2, A]
trait DblNPairArr[A1, ArrA1, A2, A]
trait Dbl2PairArr[A1, ArrA1, A2, A]
trait PointDbl2PairArr[A1, ArrA1, A2, A]
class Pt2PairArr[A2]
class LatLongPairArr[A2]
trait Dbl3PairArr[A1, ArrA1, A2, A]
trait PointDbl3PairArr[A1, ArrA1, A2, A]
class PtM3PairArr[A2]
trait Dbl4PairArr[A1, ArrA1, A2, A]
trait LineSegLikeDbl4PairArr[VT, A1, ArrA1, A2, A]
class LineSegPairArr[A2]
trait LineSegLikeDblNPairArr[VT, A1, ArrA1, A2, A]
trait PointDblNPairArr[A1, ArrA1, A2, A]
trait IntNPairArr[A1, ArrA1, A2, A]
trait Int2PairArr[A1, ArrA1, A2, A]
class HCenPairArr[A2]
trait Int3PairArr[A1, ArrA1, A2, A]
trait Int4PairArr[A1, ArrA1, A2, A]
trait LineSegLikeInt4PairArr[VT, A1, ArrA1, A2, A]
trait LineSegLikeIntNPairArr[VT, A1, ArrA1, A2, A]
trait SeqLikePairArr[A1E, A1, A1Arr, A2, A]
trait SeqLikeDblNPairArr[A1E, A1, A1Arr, A2, A]
trait PolygonLikeDblNPairArr[A1V, A1, ArrA1, A2, A]
trait PolygonLikeDbl2PairArr[A1V, A1, ArrA1, A2, A]
class PolygonPairArr[A2]
trait PolygonLikePairArr[A1V, A1, A1Arr, A2, A]
trait LineSegLikePairArr[VT, A1, ArrA1, A2, A]
trait PointPairArr[A1, ArrA1, A2, A]
trait LineSegLikeArr[VT, A]
trait Buff[A]
class AnyBuff
trait ArrayDblBuff[A]
trait ArrayIntBuff[A]
class DblBuff
class FloatBuff
class IntBuff
class LongBuff
trait PairBuff[B1, B2, B]
trait DblNPairBuff[B1, B2, B]
trait Dbl2PairBuff[A1, A2, A]
class Pt2PairBuff[A2]
class LatLongPairBuff[B2]
trait Dbl3PairBuff[B1, B2, B]
class PtM3PairBuff[B2]
trait Dbl4PairBuff[B1, B2, B]
class LineSegPairBuff[B2]
trait IntNPairBuff[B1, B2, B]
trait Int2PairBuff[A1, A2, A]
class HCenPairBuff[B2]
trait Int3PairBuff[A1, A2, A]
trait Int4PairBuff[B1, B2, B]
trait SeqLikePairBuff[A1E, A1, A2, A]
trait SeqLikeDblNPairBuff[B1E, B1, B2, B]
class PolygonPairBuff[A2]
trait SeqLikeIntNPairBuff[B1E, B1, B2, B]
trait LineSegLikePairBuff[VT, B1, B2, B]
class TBuff[A]
trait ValueNBuff[A]
trait DblNBuff[A]
trait Dbl2Buff[B]
class MinesBuff
class BuffVec2
class Pt2Buff
class Vec2MBuff
trait Dbl3Buff[A]
class Pt3Buff
class PtM3Buff
trait Dbl4Buff[A]
trait Dbl5Buff[A]
trait Dbl6Buff[A]
trait IntNBuff[A]
trait Int1Buff[A]
class HStepBuff
trait Int2Buff[A]
class CoodBuff
class HCenBuff
class HSideBuff
class HVertBuff
class SqCenBuff
trait Int3Buff[A]
trait Int4Buff[A]
trait LongNBuff[A]
trait Long1Buff[A, ArrA]
trait ValueNSeqLike[A]
trait DblNSeqLike[A]
trait Dbl2SeqLike[A]
trait Dbl3SeqLike[A]
trait Dbl4SeqLike[A]
trait Dbl5SeqLike[A]
trait Dbl6SeqLike[A]
trait Dbl7SeqLike[A]
trait IntNSeqLike[A]
trait Int1SeqLike[A]
trait Int2SeqLike[A]
trait Int3SeqLike[A]
trait Int4SeqLike[A]
trait PointSeqLike[PT]

Members list

Concise view

Type members

Types

type ThisT <: SeqLike[A]

Gives the final type of this class.

Gives the final type of this class.

Attributes

Value members

Abstract methods

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

Attributes

def fElemStr: (A) => String

String specifying the type of this object.

String specifying the type of this object.

Attributes

def unsafeSetElem(i: Int, value: A): Unit

Sets / mutates an element in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Sets / mutates an element in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Attributes

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any
def unsafeSetElems(index: Int, elems: A*): Unit

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Attributes