Exemplo n.º 1
0
 public boolean isTransientFlagSet(TransientFlag flag) {
   return flag != null && (transient_flags & flag.value()) == flag.value();
 }
Exemplo n.º 2
0
 public Message clearTransientFlag(TransientFlag... flags) {
   if (flags != null)
     for (TransientFlag flag : flags) if (flag != null) transient_flags &= ~flag.value();
   return this;
 }