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

org.mariadb.jdbc.client.util.Parameters Maven / Gradle / Ivy

The newest version!
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (c) 2012-2014 Monty Program Ab
// Copyright (c) 2015-2024 MariaDB Corporation Ab
package org.mariadb.jdbc.client.util;

/** Parameters list */
public interface Parameters {

  /**
   * get parameter at index
   *
   * @param index index
   * @return parameter
   */
  Parameter get(int index);

  /**
   * is there a parameter at requested index
   *
   * @param index index
   * @return indicate if there is a parameter at index
   */
  boolean containsKey(int index);

  /**
   * Set parameter at index
   *
   * @param index index
   * @param element parameter
   */
  void set(int index, Parameter element);

  /**
   * list size
   *
   * @return list size
   */
  int size();

  /**
   * Clone parameter list
   *
   * @return parameter list
   */
  Parameters clone();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy