public abstract static class Name.Table extends Object
Modifier and Type | Method and Description |
---|---|
abstract void |
dispose()
Release any resources used by this table.
|
protected static boolean |
equals(byte[] bytes1,
int offset1,
byte[] bytes2,
int offset2,
int length)
Compare two subarrays
|
abstract Name |
fromChars(char[] cs,
int start,
int len)
Get the name from the characters in cs[start..start+len-1].
|
Name |
fromString(String s)
Get the name for the characters in string s.
|
Name |
fromUtf(byte[] cs)
Get the name for the bytes in array cs.
|
abstract Name |
fromUtf(byte[] cs,
int start,
int len)
get the name for the bytes in cs[start..start+len-1].
|
protected static int |
hashValue(byte[] bytes,
int offset,
int length)
The hashcode of a name.
|
public final Names names
public abstract Name fromChars(char[] cs, int start, int len)
public Name fromUtf(byte[] cs)
public abstract Name fromUtf(byte[] cs, int start, int len)
public abstract void dispose()
protected static int hashValue(byte[] bytes, int offset, int length)
protected static boolean equals(byte[] bytes1, int offset1, byte[] bytes2, int offset2, int length)
Copyright © 2017 earcam. All rights reserved.