Example #1
0
 static {
   Builder<Integer, NodeClass> builder = ImmutableMap.builder();
   for (NodeClass e : values()) {
     builder.put(e.getValue(), e);
   }
   VALUES = builder.build();
 }
Example #2
0
 public static void encode(NodeClass nodeClass, UaEncoder encoder) {
   encoder.encodeInt32(null, nodeClass.getValue());
 }