private List<Entity> listNetwork(int connID,Entity e,boolean planned){
  List<Entity> novaNetworkMembers=new LinkedList<Entity>();
  List<Entity> novaUnits=getMyNovaUnits(connID);
  for (  Entity ent : novaUnits) {
    if (planned) {
      if (ent.getNewRoundNovaNetworkString() == e.getNewRoundNovaNetworkString()) {
        novaNetworkMembers.add(ent);
      }
    }
 else {
      if (ent.getC3NetId() == e.getC3NetId()) {
        novaNetworkMembers.add(ent);
      }
    }
  }
  return novaNetworkMembers;
}

private List < Entity > listNetwork ( int connID , Entity e , boolean planned ) { List < Entity > novaNetworkMembers = new LinkedList < Entity > ( ) ; List < Entity > novaUnits = getMyNovaUnits ( connID ) ; for ( Entity ent : novaUnits ) { if ( planned ) { if ( ent . getNewRoundNovaNetworkString ( ) == e . getNewRoundNovaNetworkString ( ) ) { novaNetworkMembers . add ( ent ) ; } } else { if ( ent . getC3NetId ( ) == e . getC3NetId ( ) ) { novaNetworkMembers . add ( ent ) ; } } } return novaNetworkMembers ; }
returns a list with all members of e ' s nova network , including e .
