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 java.lang.Object implements FastByteOperations.ByteOperations
-
-
Constructor Summary
Constructors Constructor Description PureJavaOperations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(byte[] buffer1, int offset1, int length1, byte[] buffer2, int offset2, int length2)intcompare(java.nio.ByteBuffer buffer1, byte[] buffer2, int offset2, int length2)intcompare(java.nio.ByteBuffer buffer1, int position1, int length1, byte[] buffer2, int offset2, int length2)intcompare(java.nio.ByteBuffer buffer1, java.nio.ByteBuffer buffer2)voidcopy(byte[] src, int srcPosition, byte[] trg, int trgPosition, int length)voidcopy(byte[] src, int srcPosition, java.nio.ByteBuffer trg, int trgPosition, int length)voidcopy(java.nio.ByteBuffer src, int srcPosition, byte[] trg, int trgPosition, int length)voidcopy(java.nio.ByteBuffer src, int srcPosition, java.nio.ByteBuffer trg, int trgPosition, int length)
-
-
-
Method Detail
-
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(java.nio.ByteBuffer buffer1, int position1, int length1, byte[] buffer2, int offset2, int length2)- Specified by:
comparein interfaceFastByteOperations.ByteOperations
-
compare
public int compare(java.nio.ByteBuffer buffer1, byte[] buffer2, int offset2, int length2)- Specified by:
comparein interfaceFastByteOperations.ByteOperations
-
compare
public int compare(java.nio.ByteBuffer buffer1, java.nio.ByteBuffer buffer2)- 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
public void copy(java.nio.ByteBuffer src, int srcPosition, byte[] trg, int trgPosition, int length)- Specified by:
copyin interfaceFastByteOperations.ByteOperations
-
copy
public void copy(byte[] src, int srcPosition, java.nio.ByteBuffer trg, int trgPosition, int length)- Specified by:
copyin interfaceFastByteOperations.ByteOperations
-
copy
public void copy(java.nio.ByteBuffer src, int srcPosition, java.nio.ByteBuffer trg, int trgPosition, int length)- Specified by:
copyin interfaceFastByteOperations.ByteOperations
-
-