All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.biomedical_imaging.edu.wlu.cs.levy.CG.KeyDuplicateException Maven / Gradle / Ivy

Go to download

KDTree implementation from Simon Levy with modifications to work with double values

The newest version!
package de.biomedical_imaging.edu.wlu.cs.levy.CG;

/**
* KeyDuplicateException is thrown when the KDTree.insert method
* is invoked on a key already in the KDTree.
*
*
* Copyright (C) Simon D. Levy 2014
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as 
* published by the Free Software Foundation, either version 3 of the 
* License, or (at your option) any later version.
*
* This code is distributed in the hope that it will be useful,     
* but WITHOUT ANY WARRANTY without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
*  You should have received a copy of the GNU Lesser General Public License 
*  along with this code.  If not, see .
*  You should also have received a copy of the Parrot Parrot AR.Drone 
*  Development License and Parrot AR.Drone copyright notice and disclaimer 
*  and If not, see 
*    
* and
*   .
*/
public class KeyDuplicateException extends KDException {

    protected KeyDuplicateException() {
	    super("Key already in tree");
    }
    
    // arbitrary; every serializable class has to have one of these
    public static final long serialVersionUID = 1L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy