public final class ByteArrayAccessStrategy extends Object implements ByteAccessStrategy<byte[]>
ByteAccessStrategy for Java byte arrays.| Modifier and Type | Field and Description | 
|---|---|
| static ByteArrayAccessStrategy | INSTANCE | 
| Modifier and Type | Method and Description | 
|---|---|
| byte | getByte(byte[] array,
       long offset)Return byte from external resource | 
| void | putByte(byte[] array,
       long offset,
       byte x)Writes byte to corresponding resource | 
public static final ByteArrayAccessStrategy INSTANCE
public byte getByte(byte[] array,
                    long offset)
ByteAccessStrategygetByte in interface ByteAccessStrategy<byte[]>array - - resource to accessoffset - - offset of bytepublic void putByte(byte[] array,
                    long offset,
                    byte x)
ByteAccessStrategyputByte in interface ByteAccessStrategy<byte[]>array - - resource to accessoffset - - offset of bytex - - byte to writeCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.