public class MapToChar extends AMapToData
| Constructor and Description |
|---|
MapToChar(int unique,
char[] data) |
MapToChar(int unique,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
fill(int v) |
char[] |
getChars() |
long |
getExactSizeOnDisk() |
int |
getIndex(int n) |
long |
getInMemorySize() |
static long |
getInMemorySize(int dataLength) |
static MapToChar |
readFields(DataInput in) |
void |
set(int n,
int v) |
int |
size() |
void |
write(DataOutput out) |
getUnique, toStringpublic MapToChar(int unique,
int size)
public MapToChar(int unique,
char[] data)
public int getIndex(int n)
getIndex in class AMapToDatapublic void fill(int v)
fill in class AMapToDatapublic long getInMemorySize()
getInMemorySize in class AMapToDatapublic static long getInMemorySize(int dataLength)
public long getExactSizeOnDisk()
getExactSizeOnDisk in class AMapToDatapublic void set(int n,
int v)
set in class AMapToDatapublic int size()
size in class AMapToDatapublic void write(DataOutput out) throws IOException
write in class AMapToDataIOExceptionpublic static MapToChar readFields(DataInput in) throws IOException
IOExceptionpublic char[] getChars()
Copyright © 2021 The Apache Software Foundation. All rights reserved.