Пример #1
0
 public boolean isTransientFlagSet(TransientFlag flag) {
   return flag != null && (transient_flags & flag.value()) == flag.value();
 }
Пример #2
0
 public Message clearTransientFlag(TransientFlag... flags) {
   if (flags != null)
     for (TransientFlag flag : flags) if (flag != null) transient_flags &= ~flag.value();
   return this;
 }