예제 #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;
 }