public class ReadOnlySequence_1<T extends IJCOBridgeReflected> extends ValueType
.NET documentation at https://learn.microsoft.com/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=11.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 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)
Initializes a new instance by invoking the .NET constructor.
|
ReadOnlySequence_1(ReadOnlySequenceSegment_1 startSegment,
int startIndex,
ReadOnlySequenceSegment_1 endSegment,
int endIndex)
Initializes a new instance by invoking the .NET constructor.
|
ReadOnlySequence_1(T[] array)
Initializes a new instance by invoking the .NET constructor.
|
ReadOnlySequence_1(T[] array,
int start,
int length)
Initializes a new instance by invoking the .NET constructor.
|
| 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()
Gets the value of the .NET property End.
|
ReadOnlyMemory_1 |
getFirst()
Gets the value of the .NET property First.
|
boolean |
getIsEmpty()
Gets the value of the .NET property IsEmpty.
|
boolean |
getIsSingleSegment()
Gets the value of the .NET property IsSingleSegment.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
long |
getLength()
Gets the value of the .NET property Length.
|
long |
GetOffset(SequencePosition position)
Invokes the .NET member GetOffset.
|
SequencePosition |
GetPosition(long offset)
Invokes the .NET member GetPosition.
|
SequencePosition |
GetPosition(long offset,
SequencePosition origin)
Invokes the .NET member GetPosition.
|
SequencePosition |
getStart()
Gets the value of the .NET property Start.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
ReadOnlySequence_1 |
Slice(int start,
int length)
Invokes the .NET member Slice.
|
ReadOnlySequence_1 |
Slice(int start,
SequencePosition end)
Invokes the .NET member Slice.
|
ReadOnlySequence_1 |
Slice(long start)
Invokes the .NET member Slice.
|
ReadOnlySequence_1 |
Slice(long start,
long length)
Invokes the .NET member Slice.
|
ReadOnlySequence_1 |
Slice(long start,
SequencePosition end)
Invokes the .NET member Slice.
|
ReadOnlySequence_1 |
Slice(SequencePosition start)
Invokes the .NET member Slice.
|
ReadOnlySequence_1 |
Slice(SequencePosition start,
int length)
Invokes the .NET member Slice.
|
ReadOnlySequence_1 |
Slice(SequencePosition start,
long length)
Invokes the .NET member Slice.
|
ReadOnlySequence_1 |
Slice(SequencePosition start,
SequencePosition end)
Invokes the .NET member Slice.
|
boolean |
TryGet(JCORefOut<SequencePosition> position,
JCORefOut<ReadOnlyMemory_1> memory,
boolean advance)
Invokes the .NET member TryGet.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ReadOnlySequence_1()
throws java.lang.Throwable
java.lang.Throwablepublic ReadOnlySequence_1(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic ReadOnlySequence_1(ReadOnlyMemory_1 memory) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException
memory - the argument of type ReadOnlyMemory_1java.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic ReadOnlySequence_1(ReadOnlySequenceSegment_1 startSegment, int startIndex, ReadOnlySequenceSegment_1 endSegment, int endIndex) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
startSegment - the argument of type ReadOnlySequenceSegment_1startIndex - the argument of type intendSegment - the argument of type ReadOnlySequenceSegment_1endIndex - the argument of type intjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic ReadOnlySequence_1(T[] array) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException
array - the argument of type T[]java.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic ReadOnlySequence_1(T[] array, int start, int length) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
array - the argument of type T[]start - the argument of type intlength - the argument of type intjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic 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.Throwable - if the call fails in the bridge or in the CLRpublic ReadOnlyMemory_1 getFirst() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic boolean getIsEmpty()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsSingleSegment()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypepublic long getLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic long GetOffset(SequencePosition position) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
position - the argument of type SequencePositionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic SequencePosition GetPosition(long offset) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException
offset - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic SequencePosition GetPosition(long offset, SequencePosition origin) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException
offset - the argument of type longorigin - the argument of type SequencePositionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic SequencePosition getStart() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ValueTypeinstance - the new underlying objectpublic ReadOnlySequence_1 Slice(int start, int length) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
start - the argument of type intlength - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic ReadOnlySequence_1 Slice(int start, SequencePosition end) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
start - the argument of type intend - the argument of type SequencePositionjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic ReadOnlySequence_1 Slice(long start) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
start - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic ReadOnlySequence_1 Slice(long start, long length) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
start - the argument of type longlength - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic ReadOnlySequence_1 Slice(long start, SequencePosition end) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
start - the argument of type longend - the argument of type SequencePositionjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic ReadOnlySequence_1 Slice(SequencePosition start) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
start - the argument of type SequencePositionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic ReadOnlySequence_1 Slice(SequencePosition start, int length) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
start - the argument of type SequencePositionlength - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic ReadOnlySequence_1 Slice(SequencePosition start, long length) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException
start - the argument of type SequencePositionlength - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic ReadOnlySequence_1 Slice(SequencePosition start, SequencePosition end) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
start - the argument of type SequencePositionend - the argument of type SequencePositionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic boolean TryGet(JCORefOut<SequencePosition> position, JCORefOut<ReadOnlyMemory_1> memory, boolean advance) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
position - the argument of type JCORefOut<SequencePosition>memory - the argument of type JCORefOut<ReadOnlyMemory_1>advance - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises it