channel=factory != null ? factory.createChannel(properties) : new JChannel(properties);
if(factory != null) { channel=properties != null? factory.createChannel(properties) : factory.createChannel(); } else { channel=new JChannel(properties); }
    public DistributedHashtable(String groupname, ChannelFactory factory,                                String properties, long state_timeout)            throws ChannelException {        this.groupname=groupname;        initSignatures();        channel=factory != null ? factory.createChannel(properties) : new JChannel(properties);        disp=new RpcDispatcher(channel, this, this, this);        channel.connect(groupname);        start(state_timeout);    }