public class CollisionMap extends Object
CompactLabelToOrdinal
for
details.Modifier and Type | Method and Description |
---|---|
int |
addLabel(CategoryPath label,
int hash,
int cid) |
void |
addLabelOffset(int hash,
int offset,
int cid)
This method does not check if the same value is already in the map because
we pass in an char-array offset, so so we now that we're in resize-mode
here.
|
int |
capacity() |
int |
get(CategoryPath label,
int hash) |
int |
size() |
public int size()
public int capacity()
public int get(CategoryPath label, int hash)
public int addLabel(CategoryPath label, int hash, int cid)
public void addLabelOffset(int hash, int offset, int cid)
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.