Package org.apache.cassandra.utils
Class FastByteOperations.PureJavaOperations
java.lang.Object
org.apache.cassandra.utils.FastByteOperations.PureJavaOperations
- All Implemented Interfaces:
FastByteOperations.ByteOperations
- Enclosing class:
- FastByteOperations
public static final class FastByteOperations.PureJavaOperations
extends Object
implements FastByteOperations.ByteOperations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(byte[] buffer1, int offset1, int length1, byte[] buffer2, int offset2, int length2) intcompare(ByteBuffer buffer1, byte[] buffer2, int offset2, int length2) intcompare(ByteBuffer buffer1, int position1, int length1, byte[] buffer2, int offset2, int length2) intcompare(ByteBuffer buffer1, ByteBuffer buffer2) voidcopy(byte[] src, int srcPosition, byte[] trg, int trgPosition, int length) voidcopy(byte[] src, int srcPosition, ByteBuffer trg, int trgPosition, int length) voidcopy(ByteBuffer src, int srcPosition, byte[] trg, int trgPosition, int length) voidcopy(ByteBuffer src, int srcPosition, ByteBuffer trg, int trgPosition, int length)
-
Constructor Details
-
PureJavaOperations
public PureJavaOperations()
-
-
Method Details
-
compare
public int compare(byte[] buffer1, int offset1, int length1, byte[] buffer2, int offset2, int length2) - Specified by:
comparein interfaceFastByteOperations.ByteOperations
-
compare
public int compare(ByteBuffer buffer1, int position1, int length1, byte[] buffer2, int offset2, int length2) - Specified by:
comparein interfaceFastByteOperations.ByteOperations
-
compare
- Specified by:
comparein interfaceFastByteOperations.ByteOperations
-
compare
- Specified by:
comparein interfaceFastByteOperations.ByteOperations
-
copy
public void copy(byte[] src, int srcPosition, byte[] trg, int trgPosition, int length) - Specified by:
copyin interfaceFastByteOperations.ByteOperations
-
copy
- Specified by:
copyin interfaceFastByteOperations.ByteOperations
-
copy
- Specified by:
copyin interfaceFastByteOperations.ByteOperations
-
copy
- Specified by:
copyin interfaceFastByteOperations.ByteOperations
-