code: public Address elect(List<Address> list) {
  		//Jgroups return addresses always in sorted order, jbcache does not change it.
  		//For buddies its ok, since we get list from failing node :) 
  		// in case shift is bigger than size
  		int size = list.size();
  		int index = (this.shift % size) +size;
  		index = index % size;
  
  		return list.get(index);
  
  	}
docs: /*
  (non-Javadoc)
  
  @see org.mobicents.ftf.election.SingletonElector#elect(java.util.List)