Class BookmarkList

    • Method Detail

      • add

        public void add​(int index,
                        Bookmark bookmark)
        Specified by:
        add in interface java.util.List<Bookmark>
      • add

        public boolean add​(Bookmark bookmark)
        Specified by:
        add in interface java.util.Collection<Bookmark>
        Specified by:
        add in interface java.util.List<Bookmark>
      • addAll

        public boolean addAll​(int index,
                              java.util.Collection<? extends Bookmark> collection)
        Specified by:
        addAll in interface java.util.List<Bookmark>
      • addAll

        public boolean addAll​(java.util.Collection<? extends Bookmark> collection)
        Specified by:
        addAll in interface java.util.Collection<Bookmark>
        Specified by:
        addAll in interface java.util.List<Bookmark>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<Bookmark>
        Specified by:
        clear in interface java.util.List<Bookmark>
      • contains

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

        public boolean containsAll​(java.util.Collection<?> collection)
        Specified by:
        containsAll in interface java.util.Collection<Bookmark>
        Specified by:
        containsAll in interface java.util.List<Bookmark>
      • get

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

        public int indexOf​(java.lang.Object object)
        Specified by:
        indexOf in interface java.util.List<Bookmark>
      • isEmpty

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

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

        public int lastIndexOf​(java.lang.Object object)
        Specified by:
        lastIndexOf in interface java.util.List<Bookmark>
      • listIterator

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

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

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

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

        public boolean removeAll​(java.util.Collection<?> collection)
        Specified by:
        removeAll in interface java.util.Collection<Bookmark>
        Specified by:
        removeAll in interface java.util.List<Bookmark>
      • retainAll

        public boolean retainAll​(java.util.Collection<?> collection)
        Specified by:
        retainAll in interface java.util.Collection<Bookmark>
        Specified by:
        retainAll in interface java.util.List<Bookmark>
      • set

        public Bookmark set​(int index,
                            Bookmark bookmark)
        Specified by:
        set in interface java.util.List<Bookmark>
      • size

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

        public java.util.List<Bookmark> subList​(int start,
                                                int end)
        Specified by:
        subList in interface java.util.List<Bookmark>
      • toArray

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

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

        public void addListChangedListener​(ListChangedListener<Bookmark> listener)
        Description copied from interface: ListenableList
        Adds a listener for added and removed events.

        Adding this listener on the UI thread will cause it to be invoked on the UI thread, otherwise it is not guaranteed on which thread the listener is invoked.

        Specified by:
        addListChangedListener in interface ListenableList<Bookmark>
        Parameters:
        listener - this listener will be called back when items are added to or removed from the list
      • removeListChangedListener

        public boolean removeListChangedListener​(ListChangedListener<Bookmark> listener)
        Description copied from interface: ListenableList
        Removes the given listener from this class instance. It will no longer receive added or removed events.
        Specified by:
        removeListChangedListener in interface ListenableList<Bookmark>
        Parameters:
        listener - listener to remove
        Returns:
        true if the listenable list contained the given listener, false otherwise