Class DeviceList

  • All Implemented Interfaces:
    java.lang.Iterable<Device>, java.util.Collection<Device>, java.util.List<Device>

    public class DeviceList
    extends NativeObject
    implements java.util.List<Device>

    The list of devices managed by a PKCS#11 module

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int index, Device element)
      Not supported.
      boolean add​(Device element)
      Not supported.
      boolean addAll​(int index, java.util.Collection<? extends Device> elements)
      Not supported.
      boolean addAll​(java.util.Collection<? extends Device> elements)
      Not supported.
      void clear()
      Not supported.
      boolean contains​(java.lang.Object object)  
      boolean containsAll​(java.util.Collection<?> objects)  
      Device get​(int index)  
      Device getSingle()
      Get the single device
      int indexOf​(java.lang.Object obj)  
      boolean isEmpty()  
      java.util.Iterator<Device> iterator()  
      int lastIndexOf​(java.lang.Object obj)  
      java.util.ListIterator<Device> listIterator()  
      java.util.ListIterator<Device> listIterator​(int index)  
      Device remove​(int index)
      Not supported.
      boolean remove​(java.lang.Object object)
      Not supported.
      boolean removeAll​(java.util.Collection<?> objects)
      Not supported.
      boolean retainAll​(java.util.Collection<?> objects)
      Not supported.
      Device set​(int index, Device element)
      Not supported.
      int size()  
      java.util.List<Device> subList​(int fromIndex, int toIndex)  
      java.lang.Object[] toArray()  
      <T> T[] toArray​(T[] array)  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        equals, hashCode, replaceAll, sort, spliterator
    • Method Detail

      • addAll

        public boolean addAll​(java.util.Collection<? extends Device> elements)
        Not supported.
        Specified by:
        addAll in interface java.util.Collection<Device>
        Specified by:
        addAll in interface java.util.List<Device>
      • addAll

        public boolean addAll​(int index,
                              java.util.Collection<? extends Device> elements)
        Not supported.
        Specified by:
        addAll in interface java.util.List<Device>
      • contains

        public boolean contains​(java.lang.Object object)
        Specified by:
        contains in interface java.util.Collection<Device>
        Specified by:
        contains in interface java.util.List<Device>
      • containsAll

        public boolean containsAll​(java.util.Collection<?> objects)
        Specified by:
        containsAll in interface java.util.Collection<Device>
        Specified by:
        containsAll in interface java.util.List<Device>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<Device>
        Specified by:
        isEmpty in interface java.util.List<Device>
      • iterator

        public java.util.Iterator<Device> iterator()
        Specified by:
        iterator in interface java.util.Collection<Device>
        Specified by:
        iterator in interface java.lang.Iterable<Device>
        Specified by:
        iterator in interface java.util.List<Device>
      • listIterator

        public java.util.ListIterator<Device> listIterator()
        Specified by:
        listIterator in interface java.util.List<Device>
      • listIterator

        public java.util.ListIterator<Device> listIterator​(int index)
        Specified by:
        listIterator in interface java.util.List<Device>
      • remove

        public boolean remove​(java.lang.Object object)
        Not supported.
        Specified by:
        remove in interface java.util.Collection<Device>
        Specified by:
        remove in interface java.util.List<Device>
      • removeAll

        public boolean removeAll​(java.util.Collection<?> objects)
        Not supported.
        Specified by:
        removeAll in interface java.util.Collection<Device>
        Specified by:
        removeAll in interface java.util.List<Device>
      • retainAll

        public boolean retainAll​(java.util.Collection<?> objects)
        Not supported.
        Specified by:
        retainAll in interface java.util.Collection<Device>
        Specified by:
        retainAll in interface java.util.List<Device>
      • subList

        public java.util.List<Device> subList​(int fromIndex,
                                              int toIndex)
        Specified by:
        subList in interface java.util.List<Device>
      • toArray

        public java.lang.Object[] toArray()
        Specified by:
        toArray in interface java.util.Collection<Device>
        Specified by:
        toArray in interface java.util.List<Device>
      • toArray

        public <T> T[] toArray​(T[] array)
        Specified by:
        toArray in interface java.util.Collection<Device>
        Specified by:
        toArray in interface java.util.List<Device>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<Device>
        Specified by:
        size in interface java.util.List<Device>
      • clear

        public void clear()
        Not supported.
        Specified by:
        clear in interface java.util.Collection<Device>
        Specified by:
        clear in interface java.util.List<Device>
      • indexOf

        public int indexOf​(java.lang.Object obj)
        Specified by:
        indexOf in interface java.util.List<Device>
      • lastIndexOf

        public int lastIndexOf​(java.lang.Object obj)
        Specified by:
        lastIndexOf in interface java.util.List<Device>
      • add

        public boolean add​(Device element)
        Not supported.
        Specified by:
        add in interface java.util.Collection<Device>
        Specified by:
        add in interface java.util.List<Device>
      • add

        public void add​(int index,
                        Device element)
        Not supported.
        Specified by:
        add in interface java.util.List<Device>
      • get

        public Device get​(int index)
        Specified by:
        get in interface java.util.List<Device>
      • remove

        public Device remove​(int index)
        Not supported.
        Specified by:
        remove in interface java.util.List<Device>
      • set

        public Device set​(int index,
                          Device element)
        Not supported.
        Specified by:
        set in interface java.util.List<Device>