|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.vvakame.blaz.util.KeyUtil
public class KeyUtil
Key についてのユーティリティ.
| Constructor Summary | |
|---|---|
KeyUtil()
|
|
| Method Summary | |
|---|---|
static List<Key> |
conv(Iterable<Key> keys)
Iterable から List に変換します. |
static Key |
createKey(String kind,
long id)
指定のKindとidを表す Key を生成し返す. |
static Key |
createKey(String kind,
String name)
指定のKindとnameを表す Key を生成し返す. |
static String |
keyToString(Key key)
Key を文字列表現に変換する. |
static Key |
stringToKey(String str)
Key の文字列表現から Key を復元する. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyUtil()
| Method Detail |
|---|
public static Key createKey(String kind,
String name)
Key を生成し返す.
kind - name -
public static Key createKey(String kind,
long id)
Key を生成し返す.
kind - id -
public static String keyToString(Key key)
Key を文字列表現に変換する.
key -
public static Key stringToKey(String str)
Key の文字列表現から Key を復元する.
str -
Keypublic static List<Key> conv(Iterable<Key> keys)
Iterable から List に変換します.
keys -
List
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||