Class CharSegment
Represents the char segment.
Implements
IList<Char>
Inherited Members
Namespace: Platform.Collections.Segments
Assembly: Platform.Collections.dll
Syntax
public class CharSegment : Segment<char>, IList<char>
Constructors
| Improve this Doc View SourceCharSegment(IList<Char>, Int32, Int32)
Initializes a new CharSegment instance.
Declaration
public CharSegment(IList<char> base, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
IList<Char> | base | |
Int32 | offset | A offset.
|
Int32 | length | A length.
|
Methods
| Improve this Doc View SourceEquals(Segment<Char>)
Determines whether this instance equals.
Declaration
public override bool Equals(Segment<char> other)
Parameters
Type | Name | Description |
---|---|---|
Segment<Char> | other | The other.
|
Returns
Type | Description |
---|---|
Boolean | The bool
|
Overrides
Platform.Collections.Segments.Segment<System.Char>.Equals(Platform.Collections.Segments.Segment<System.Char>)
|
Improve this Doc
View Source
Equals(Object)
Determines whether this instance equals.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The obj.
|
Returns
Type | Description |
---|---|
Boolean | The bool
|
Overrides
Platform.Collections.Segments.Segment<System.Char>.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Gets the hash code.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The int
|
Overrides
Platform.Collections.Segments.Segment<System.Char>.GetHashCode()
|
Improve this Doc
View Source
ToString()
Returns the string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The string
|
Operators
| Improve this Doc View SourceImplicit(CharSegment to String)
Declaration
public static implicit operator string (CharSegment segment)
Parameters
Type | Name | Description |
---|---|---|
CharSegment | segment |
Returns
Type | Description |
---|---|
String |
Implements
IList<>