Class SortedCollection4


  • public class SortedCollection4
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.Object element)  
      void addAll​(Iterator4 iterator)  
      void remove​(java.lang.Object element)  
      java.lang.Object singleElement()  
      int size()  
      java.lang.Object[] toArray​(java.lang.Object[] array)  
      • Methods inherited from class java.lang.Object

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

      • SortedCollection4

        public SortedCollection4​(Comparison4 comparison)
    • Method Detail

      • singleElement

        public java.lang.Object singleElement()
      • addAll

        public void addAll​(Iterator4 iterator)
      • add

        public void add​(java.lang.Object element)
      • remove

        public void remove​(java.lang.Object element)
      • toArray

        public java.lang.Object[] toArray​(java.lang.Object[] array)
      • size

        public int size()