eu.id3.bioseal

## Class ExtensionList

- java.lang.Object
- - eu.id3.bioseal.ExtensionList

- All Implemented Interfaces:
    java.io.Serializable, java.lang.AutoCloseable, java.lang.Iterable<Extension>

      public class ExtensionList
      extends java.lang.Object
      implements java.lang.AutoCloseable, java.io.Serializable, java.lang.Iterable<Extension>

  Represents a list of extensions.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExtensionList()` Creates a new instance of the ExtensionList class.
    `ExtensionList(long handle)` Creates a new instance of the ExtensionList class.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `clear()` Clear the list.
    `void` | `close()` Releases all resources used by this ExtensionList.
    `boolean` | `containsKey(java.lang.String key)` Determines whether the ExtensionListobject contains the specified key.
    `protected void` | `finalize()` Finalizer for this class.
    `Extension` | `get(java.lang.String key)` Gets an item of the ExtensionList object.
    `int` | `getCount()` Gets the number of elements in the ExtensionList object.
    `long` | `getHandle()` Gets the native handle.
    `StringArray` | `getKeys()` Gets the gets a string list containing the keys in the dict.
    `java.util.Iterator<Extension>` | `iterator()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Constructor Detail

    - #### ExtensionList

          public ExtensionList()
                        throws BiosealException

      Creates a new instance of the ExtensionList class.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### ExtensionList

          public ExtensionList(long handle)
                        throws BiosealException

      Creates a new instance of the ExtensionList class.
      Parameters:
        `handle` - Handle to the ExtensionList.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

  - ### Method Detail

    - #### close

          public void close()

      Releases all resources used by this ExtensionList.
      Specified by:
        `close` in interface `java.lang.AutoCloseable`

    - #### finalize

          protected void finalize()

      Finalizer for this class. Finalizers are deprecated since Java 9+. This method is not guaranteed to be called. To release all memory held by this class please be sure to call the close() method.
      Overrides:
        `finalize` in class `java.lang.Object`

    - #### getHandle

          public long getHandle()

      Gets the native handle.
      Returns:
        The native handle.

    - #### getKeys

          public StringArray getKeys()
                              throws BiosealException

      Gets the gets a string list containing the keys in the dict.
      Returns:
        Gets a string list containing the keys in the dict.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### get

          public Extension get(java.lang.String key)
                        throws BiosealException

      Gets an item of the ExtensionList object.
      Parameters:
        `key` - Unique key of the Extension item to get.
      Returns:
        Extension item to get.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### getCount

          public int getCount()
                       throws BiosealException

      Gets the number of elements in the ExtensionList object.
      Returns:
        Number of elements in the Extension object.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### containsKey

          public boolean containsKey(java.lang.String key)
                              throws BiosealException

      Determines whether the ExtensionListobject contains the specified key.
      Parameters:
        `key` - The key to locate in the Extension object.
      Returns:
        true if the Extension object contains an element with the specified key, otherwise false.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### clear

          public void clear()
                     throws BiosealException

      Clear the list.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### iterator

          public java.util.Iterator<Extension> iterator()

      Specified by:
        `iterator` in interface `java.lang.Iterable<Extension>`

Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.bioseal