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()
Parameters:
- aArray:
- aStart:
- aCount:
constructor (int)
Parameters:
- aSize:
Parameters:
- aSize:
- aCap:
Parameters:
- aSize:
- aCap:
constructor (int64)
Parameters:
- aSize:
Parameters:
- aSize:
- aCap:
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)
Sub Add(a As Int32, b As T)
Parameters:
- a:
- b:
AppendObject
func AppendObject(aObject interface{}) 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>)
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
Parameters:
- aSource:
- aDest:
Get
Parameters:
- idx1:
- idx2:
GetSequence
method GetSequence: IEnumerable<tuple of (Int32, T)>
IEnumerable<tuple of (Int32, T)> GetSequence()
// .NET, .NET Standard 2.0
func GetSequence() -> IEnumerable<(Int32, T)>
// Island
func GetSequence() -> IEnumerable<tuple of (Int32, T)>
func GetSequence() IEnumerable<tuple of (Int32, T)>
Function GetSequence() As IEnumerable<tuple of (Int32, T)>
Grow
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
Length
property Length: Int32 read;
Int32 Length { get; }
var Length: Int32 { get{} }
Length Int32
ReadOnly Property Length() As Int32
Less
Parameters:
- a:
- b:
Ref
// .NET, .NET Standard 2.0
method Ref(i: int64): Memory<T>
// Island
method Ref(i: int64): Memory<T>
Parameters:
- i:
Swap
Parameters:
- a:
- b:
ToArray
method ToArray: array of T
T[] ToArray()
func ToArray() -> T...
func ToArray() array of T
Function ToArray() As T()
Zero
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
Copy
Parameters:
- aSource:
- aDest:
constructor
constructor
Slice<T>()
init()
Sub New()
Parameters:
- aArray:
- aStart:
- aCount:
constructor (int)
Parameters:
- aSize:
Parameters:
- aSize:
- aCap:
Parameters:
- aSize:
- aCap:
constructor (int64)
Parameters:
- aSize:
Parameters:
- aSize:
- aCap:
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)
Sub Add(a As Int32, b As T)
Parameters:
- a:
- b:
AppendObject
func AppendObject(aObject interface{}) 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>)
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
Parameters:
- idx1:
- idx2:
GetSequence
method GetSequence: IEnumerable<tuple of (Int32, T)>
IEnumerable<tuple of (Int32, T)> GetSequence()
// .NET, .NET Standard 2.0
func GetSequence() -> IEnumerable<(Int32, T)>
// Island
func GetSequence() -> IEnumerable<tuple of (Int32, T)>
func GetSequence() IEnumerable<tuple of (Int32, T)>
Function GetSequence() As IEnumerable<tuple of (Int32, T)>
Grow
Parameters:
- aNewLen:
Len
Less
Parameters:
- a:
- b:
Ref
// .NET, .NET Standard 2.0
method Ref(i: int64): Memory<T>
// Island
method Ref(i: int64): Memory<T>
Parameters:
- i:
Swap
Parameters:
- a:
- b:
ToArray
method ToArray: array of T
T[] ToArray()
func ToArray() -> T...
func ToArray() array of T
Function ToArray() As T()