Пример #1
0
 /** Calculates the total number of tags. */
 public int getLength() {
   int length = tags.length;
   if (derived != null) {
     length += derived.getLength();
   }
   return length;
 }
Пример #2
0
 /**
  * Returns the name of the server-side logic class to use for the global, or <code>null</code>
  * for none.
  */
 public String getLogicClassName() {
   return (tags.getLength() == 0 && handlers.length == 0)
       ? null
       : "com.threerings.tudey.server.logic.EntryLogic";
 }