public class ReadOnlySequence_1<T extends IJCOBridgeReflected> extends ValueType
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Buffers.ReadOnlySequence`1
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Memory
|
static java.lang.String |
className
Qualified class name: System.Buffers.ReadOnlySequence`1
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ReadOnlySequence_1() |
ReadOnlySequence_1(java.lang.Object instance)
Internal constructor.
|
ReadOnlySequence_1(ReadOnlyMemory_1 memory) |
ReadOnlySequence_1(ReadOnlySequenceSegment_1 startSegment,
int startIndex,
ReadOnlySequenceSegment_1 endSegment,
int endIndex) |
ReadOnlySequence_1(T[] array) |
ReadOnlySequence_1(T[] array,
int start,
int length) |
| Modifier and Type | Method and Description |
|---|---|
static ReadOnlySequence_1 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ReadOnlySequence_1, a cast assert is made to check if types are compatible. |
SequencePosition |
getEnd() |
ReadOnlyMemory_1 |
getFirst() |
boolean |
getIsEmpty() |
boolean |
getIsSingleSegment() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
long |
getLength() |
long |
GetOffset(SequencePosition position) |
SequencePosition |
GetPosition(long offset) |
SequencePosition |
GetPosition(long offset,
SequencePosition origin) |
SequencePosition |
getStart() |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
ReadOnlySequence_1 |
Slice(int start,
int length) |
ReadOnlySequence_1 |
Slice(int start,
SequencePosition end) |
ReadOnlySequence_1 |
Slice(long start) |
ReadOnlySequence_1 |
Slice(long start,
long length) |
ReadOnlySequence_1 |
Slice(long start,
SequencePosition end) |
ReadOnlySequence_1 |
Slice(SequencePosition start) |
ReadOnlySequence_1 |
Slice(SequencePosition start,
int length) |
ReadOnlySequence_1 |
Slice(SequencePosition start,
long length) |
ReadOnlySequence_1 |
Slice(SequencePosition start,
SequencePosition end) |
boolean |
TryGet(JCORefOut<SequencePosition> position,
JCORefOut<ReadOnlyMemory_1> memory,
boolean advance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic ReadOnlySequence_1()
throws java.lang.Throwable
java.lang.Throwablepublic ReadOnlySequence_1(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ReadOnlySequence_1(ReadOnlyMemory_1 memory) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException
java.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionpublic ReadOnlySequence_1(ReadOnlySequenceSegment_1 startSegment, int startIndex, ReadOnlySequenceSegment_1 endSegment, int endIndex) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic ReadOnlySequence_1(T[] array) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public ReadOnlySequence_1(T[] array, int start, int length) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static ReadOnlySequence_1 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ReadOnlySequence_1, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedReadOnlySequence_1 instancejava.lang.Throwable - in case of error during cast operationpublic SequencePosition getEnd() throws java.lang.Throwable
java.lang.Throwablepublic ReadOnlyMemory_1 getFirst() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic boolean getIsEmpty()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsSingleSegment()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic long getLength()
throws java.lang.Throwable
java.lang.Throwablepublic long GetOffset(SequencePosition position) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic SequencePosition GetPosition(long offset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
public SequencePosition GetPosition(long offset, SequencePosition origin) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
public SequencePosition getStart() throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class ValueTypepublic ReadOnlySequence_1 Slice(int start, int length) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic ReadOnlySequence_1 Slice(int start, SequencePosition end) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic ReadOnlySequence_1 Slice(long start) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic ReadOnlySequence_1 Slice(long start, long length) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic ReadOnlySequence_1 Slice(long start, SequencePosition end) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic ReadOnlySequence_1 Slice(SequencePosition start) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic ReadOnlySequence_1 Slice(SequencePosition start, int length) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic ReadOnlySequence_1 Slice(SequencePosition start, long length) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
public ReadOnlySequence_1 Slice(SequencePosition start, SequencePosition end) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic boolean TryGet(JCORefOut<SequencePosition> position, JCORefOut<ReadOnlyMemory_1> memory, boolean advance) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException