Slice<T>
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.builtin
- Platforms: .NET, .NET Standard 2.0, Island
constructor
constructor
Slice<T>()
init()
Sub New()
constructor(aArray: array of T; aStart: Int32; aCount: Int32)
Slice<T>(T[] aArray, Int32 aStart, Int32 aCount)
init(_ aArray: T..., _ aStart: Int32, _ aCount: Int32)
Sub New(aArray As T(), aStart As Int32, aCount As Int32)
Parameters:
- aArray:
- aStart:
- aCount:
constructor (int)
constructor(aSize: int)
Slice<T>(int aSize)
init(_ aSize: int)
Sub New(aSize As int)
Parameters:
- aSize:
constructor(aSize: int; aCap: int)
Slice<T>(int aSize, int aCap)
init(_ aSize: int, _ aCap: int)
Sub New(aSize As int, aCap As int)
Parameters:
- aSize:
- aCap:
constructor(aSize: int; aCap: int64)
Slice<T>(int aSize, int64 aCap)
init(_ aSize: int, _ aCap: int64)
Sub New(aSize As int, aCap As int64)
Parameters:
- aSize:
- aCap:
constructor (int64)
constructor(aSize: int64)
Slice<T>(int64 aSize)
init(_ aSize: int64)
Sub New(aSize As int64)
Parameters:
- aSize:
constructor(aSize: int64; aCap: int)
Slice<T>(int64 aSize, int aCap)
init(_ aSize: int64, _ aCap: int)
Sub New(aSize As int64, aCap As int)
Parameters:
- aSize:
- aCap:
constructor(aSize: int64; aCap: int64)
Slice<T>(int64 aSize, int64 aCap)
init(_ aSize: int64, _ aCap: int64)
Sub New(aSize As int64, aCap As int64)
Parameters:
- aSize:
- aCap:
constructor (Slice<T>)
constructor(value: Slice<T>)
Slice<T>(Slice<T> value)
init(_ value: Slice<T>)
Sub New(value As Slice<T>)
Parameters:
- value:
constructor (array of T)
constructor(params aArray: array of T)
Slice<T>(params T[] aArray)
init(_ aArray: T...)
Sub New(ParamArray aArray As T())
Parameters:
- aArray:
Add
method Add(a: Int32; b: T)
void Add(Int32 a, T b)
func Add(_ a: Int32, _ b: T)
// .NET, .NET Standard 2.0
func Add(a Int32, b T)
// Island
func Add(a Int32, b T) void
Sub Add(a As Int32, b As T)
Parameters:
- a:
- b:
AppendObject
method AppendObject(aObject: Object): Value
Value AppendObject(Object aObject)
func AppendObject(_ aObject: Object) -> Value
func AppendObject(aObject interface{}) Value
Function AppendObject(aObject As Object) As Value
Parameters:
- aObject:
Assign (array of T)
method Assign(aOrg: array of T)
void Assign(T[] aOrg)
func Assign(_ aOrg: T...)
// .NET, .NET Standard 2.0
func Assign(aOrg []T)
// Island
func Assign(aOrg []T) void
Sub Assign(aOrg As T())
Parameters:
- aOrg:
Assign (Slice<T>)
method Assign(aOrg: Slice<T>)
void Assign(Slice<T> aOrg)
func Assign(_ aOrg: Slice<T>)
// .NET, .NET Standard 2.0
func Assign(aOrg Slice<T>)
// Island
func Assign(aOrg Slice<T>) void
Sub Assign(aOrg As Slice<T>)
Parameters:
- aOrg:
Capacity
property Capacity: Int32 read;
Int32 Capacity { get; }
var Capacity: Int32 { get{} }
Capacity Int32
ReadOnly Property Capacity() As Int32
CloneElems
method CloneElems: Object
Object CloneElems()
func CloneElems() -> Object
func CloneElems() interface{}
Function CloneElems() As Object
Copy
class method Copy(aSource: Slice<T>; aDest: Slice<T>)
static void Copy(Slice<T> aSource, Slice<T> aDest)
static func Copy(_ aSource: Slice<T>, _ aDest: Slice<T>)
// .NET, .NET Standard 2.0
func Copy(aSource Slice<T>, aDest Slice<T>)
// Island
func Copy(aSource Slice<T>, aDest Slice<T>) void
Shared Sub Copy(aSource As Slice<T>, aDest As Slice<T>)
Parameters:
- aSource:
- aDest:
Get
method Get(idx1: int32; idx2: int32): T
T Get(int32 idx1, int32 idx2)
func Get(_ idx1: int32, _ idx2: int32) -> T
func Get(idx1 int32, idx2 int32) T
Function Get(idx1 As int32, idx2 As int32) As T
Parameters:
- idx1:
- idx2:
GetSequence
method GetSequence: IEnumerable<tuple of (Int32, T)>
IEnumerable<tuple of (Int32, T)> GetSequence()
func GetSequence() -> IEnumerable<tuple of (Int32, T)>
func GetSequence() IEnumerable<tuple of (Int32, T)>
Function GetSequence() As IEnumerable<tuple of (Int32, T)>
Grow
method Grow(aNewLen: Int32): Slice<T>
Slice<T> Grow(Int32 aNewLen)
func Grow(_ aNewLen: Int32) -> Slice<T>
func Grow(aNewLen Int32) Slice<T>
Function Grow(aNewLen As Int32) As Slice<T>
Parameters:
- aNewLen:
Item
property Item[i: Int32]: T read write;
T Item[Int32 i] { get; set; }
subscript Item(_ i: Int32) -> T { get{} set{} }
Item[[i Int32]] T
Property Item(i As Int32) As T
Len
method Len: int
int Len()
func Len() -> int
func Len() int
Function Len() As int
Length
property Length: Int32 read;
Int32 Length { get; }
var Length: Int32 { get{} }
Length Int32
ReadOnly Property Length() As Int32
Less
method Less(a: int; b: int): bool
bool Less(int a, int b)
func Less(_ a: int, _ b: int) -> bool
func Less(a int, b int) bool
Function Less(a As int, b As int) As bool
Parameters:
- a:
- b:
Ref
method Ref(i: int64): Memory<T>
Memory<T> Ref(int64 i)
func Ref(_ i: int64) -> Memory<T>
func Ref(i int64) Memory<T>
Function Ref(i As int64) As Memory<T>
Parameters:
- i:
Swap
method Swap(a: int; b: int)
void Swap(int a, int b)
func Swap(_ a: int, _ b: int)
// .NET, .NET Standard 2.0
func Swap(a int, b int)
// Island
func Swap(a int, b int) void
Sub Swap(a As int, b As int)
Parameters:
- a:
- b:
ToArray
method ToArray: array of T
T[] ToArray()
func ToArray() -> T...
func ToArray() array of T
Function ToArray() As T()
Zero
class property Zero: Slice<T> read;
class Slice<T> Zero { get; }
static var Zero: Slice<T> { get{} }
Zero Slice<T>
Shared ReadOnly Property Zero() As Slice<T>
Capacity
property Capacity: Int32 read;
Int32 Capacity { get; }
var Capacity: Int32 { get{} }
Capacity Int32
ReadOnly Property Capacity() As Int32
Item
property Item[i: Int32]: T read write;
T Item[Int32 i] { get; set; }
subscript Item(_ i: Int32) -> T { get{} set{} }
Item[[i Int32]] T
Property Item(i As Int32) As T
Length
property Length: Int32 read;
Int32 Length { get; }
var Length: Int32 { get{} }
Length Int32
ReadOnly Property Length() As Int32
Zero
class property Zero: Slice<T> read;
class Slice<T> Zero { get; }
static var Zero: Slice<T> { get{} }
Zero Slice<T>
Shared ReadOnly Property Zero() As Slice<T>
Copy
class method Copy(aSource: Slice<T>; aDest: Slice<T>)
static void Copy(Slice<T> aSource, Slice<T> aDest)
static func Copy(_ aSource: Slice<T>, _ aDest: Slice<T>)
// .NET, .NET Standard 2.0
func Copy(aSource Slice<T>, aDest Slice<T>)
// Island
func Copy(aSource Slice<T>, aDest Slice<T>) void
Shared Sub Copy(aSource As Slice<T>, aDest As Slice<T>)
Parameters:
- aSource:
- aDest:
constructor
constructor
Slice<T>()
init()
Sub New()
constructor(aArray: array of T; aStart: Int32; aCount: Int32)
Slice<T>(T[] aArray, Int32 aStart, Int32 aCount)
init(_ aArray: T..., _ aStart: Int32, _ aCount: Int32)
Sub New(aArray As T(), aStart As Int32, aCount As Int32)
Parameters:
- aArray:
- aStart:
- aCount:
constructor (int)
constructor(aSize: int)
Slice<T>(int aSize)
init(_ aSize: int)
Sub New(aSize As int)
Parameters:
- aSize:
constructor(aSize: int; aCap: int)
Slice<T>(int aSize, int aCap)
init(_ aSize: int, _ aCap: int)
Sub New(aSize As int, aCap As int)
Parameters:
- aSize:
- aCap:
constructor(aSize: int; aCap: int64)
Slice<T>(int aSize, int64 aCap)
init(_ aSize: int, _ aCap: int64)
Sub New(aSize As int, aCap As int64)
Parameters:
- aSize:
- aCap:
constructor (int64)
constructor(aSize: int64)
Slice<T>(int64 aSize)
init(_ aSize: int64)
Sub New(aSize As int64)
Parameters:
- aSize:
constructor(aSize: int64; aCap: int)
Slice<T>(int64 aSize, int aCap)
init(_ aSize: int64, _ aCap: int)
Sub New(aSize As int64, aCap As int)
Parameters:
- aSize:
- aCap:
constructor(aSize: int64; aCap: int64)
Slice<T>(int64 aSize, int64 aCap)
init(_ aSize: int64, _ aCap: int64)
Sub New(aSize As int64, aCap As int64)
Parameters:
- aSize:
- aCap:
constructor (Slice<T>)
constructor(value: Slice<T>)
Slice<T>(Slice<T> value)
init(_ value: Slice<T>)
Sub New(value As Slice<T>)
Parameters:
- value:
constructor (array of T)
constructor(params aArray: array of T)
Slice<T>(params T[] aArray)
init(_ aArray: T...)
Sub New(ParamArray aArray As T())
Parameters:
- aArray:
Add
method Add(a: Int32; b: T)
void Add(Int32 a, T b)
func Add(_ a: Int32, _ b: T)
// .NET, .NET Standard 2.0
func Add(a Int32, b T)
// Island
func Add(a Int32, b T) void
Sub Add(a As Int32, b As T)
Parameters:
- a:
- b:
AppendObject
method AppendObject(aObject: Object): Value
Value AppendObject(Object aObject)
func AppendObject(_ aObject: Object) -> Value
func AppendObject(aObject interface{}) Value
Function AppendObject(aObject As Object) As Value
Parameters:
- aObject:
Assign (array of T)
method Assign(aOrg: array of T)
void Assign(T[] aOrg)
func Assign(_ aOrg: T...)
// .NET, .NET Standard 2.0
func Assign(aOrg []T)
// Island
func Assign(aOrg []T) void
Sub Assign(aOrg As T())
Parameters:
- aOrg:
Assign (Slice<T>)
method Assign(aOrg: Slice<T>)
void Assign(Slice<T> aOrg)
func Assign(_ aOrg: Slice<T>)
// .NET, .NET Standard 2.0
func Assign(aOrg Slice<T>)
// Island
func Assign(aOrg Slice<T>) void
Sub Assign(aOrg As Slice<T>)
Parameters:
- aOrg:
CloneElems
method CloneElems: Object
Object CloneElems()
func CloneElems() -> Object
func CloneElems() interface{}
Function CloneElems() As Object
Get
method Get(idx1: int32; idx2: int32): T
T Get(int32 idx1, int32 idx2)
func Get(_ idx1: int32, _ idx2: int32) -> T
func Get(idx1 int32, idx2 int32) T
Function Get(idx1 As int32, idx2 As int32) As T
Parameters:
- idx1:
- idx2:
GetSequence
method GetSequence: IEnumerable<tuple of (Int32, T)>
IEnumerable<tuple of (Int32, T)> GetSequence()
func GetSequence() -> IEnumerable<tuple of (Int32, T)>
func GetSequence() IEnumerable<tuple of (Int32, T)>
Function GetSequence() As IEnumerable<tuple of (Int32, T)>
Grow
method Grow(aNewLen: Int32): Slice<T>
Slice<T> Grow(Int32 aNewLen)
func Grow(_ aNewLen: Int32) -> Slice<T>
func Grow(aNewLen Int32) Slice<T>
Function Grow(aNewLen As Int32) As Slice<T>
Parameters:
- aNewLen:
Len
method Len: int
int Len()
func Len() -> int
func Len() int
Function Len() As int
Less
method Less(a: int; b: int): bool
bool Less(int a, int b)
func Less(_ a: int, _ b: int) -> bool
func Less(a int, b int) bool
Function Less(a As int, b As int) As bool
Parameters:
- a:
- b:
Ref
method Ref(i: int64): Memory<T>
Memory<T> Ref(int64 i)
func Ref(_ i: int64) -> Memory<T>
func Ref(i int64) Memory<T>
Function Ref(i As int64) As Memory<T>
Parameters:
- i:
Swap
method Swap(a: int; b: int)
void Swap(int a, int b)
func Swap(_ a: int, _ b: int)
// .NET, .NET Standard 2.0
func Swap(a int, b int)
// Island
func Swap(a int, b int) void
Sub Swap(a As int, b As int)
Parameters:
- a:
- b:
ToArray
method ToArray: array of T
T[] ToArray()
func ToArray() -> T...
func ToArray() array of T
Function ToArray() As T()