Class Check.STAG
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Integer,
Object>
- Enclosing class:
Check
Шорткат для установки сложных вложенных тегов в чек/позицию. По сути мэп такой же, с ограничениями по типам.
используется в динкоде типа new Check.STAG(){{ tag(22666, 666); }}
ключи - целые значения тегов, значения - String или Long или byte[]
Передаётся и кодируется в нашем протоколе если надо в текст (в сервер печати, например) в виде json-dict.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
STAG
public STAG()
-
-
Method Details
-
toJson
-
fromJson
-
tag
-
tag
public void tag(int tag, long value) -
tag
public void tag(int tag, byte[] value)
-