code: @SuppressWarnings("unchecked")
  	public T last() {
  		T ret;
  		if (JcRelation.class.equals(type)) {
  			ret = (T) new JcRelation(null, this, 
  					new FunctionInstance(FUNCTION.Collection.LAST, 1));
  		} else if (JcNode.class.equals(type)) {
  			ret = (T) new JcNode(null, this, 
  					new FunctionInstance(FUNCTION.Collection.LAST, 1));
  		} else {
  			ret = (T) new JcValue(null, this, 
  					new FunctionInstance(FUNCTION.Collection.LAST, 1));
  		}
  		QueryRecorder.recordInvocationConditional(this, "last", ret);
  		return ret;
  	}
docs: <div color='red' style="font-size:24px;color:red"><b><i><u>JCYPHER</u></i></b></div>
  <div color='red' style="font-size:18px;color:red"><i>return the last element of a collection</i></div>
  <br/>