Class QueryCloner


  • public final class QueryCloner
    extends java.lang.Object
    This is a static class that provides a method to clone a Query object.
    Author:
    Matthew Wakeling
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Query cloneQuery​(Query query)
      Clones a query object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • cloneQuery

        public static Query cloneQuery​(Query query)
        Clones a query object.
        Parameters:
        query - a Query to clone
        Returns:
        a Query object not connected to the original, but identical