Class SortedIntList


  • public class SortedIntList
    extends java.lang.Object
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Constructor Summary

      Constructors 
      Constructor Description
      SortedIntList()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(int value)  
      int get​(int index)  
      int indexOf​(int value)  
      boolean isEmpty()  
      boolean remove​(int value)  
      int size()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SortedIntList

        public SortedIntList()
    • Method Detail

      • size

        public int size()
      • isEmpty

        public boolean isEmpty()
      • get

        public int get​(int index)
      • add

        public boolean add​(int value)
      • remove

        public boolean remove​(int value)
      • indexOf

        public int indexOf​(int value)