Class List4<T>

  • All Implemented Interfaces:
    Unversioned

    public final class List4<T>
    extends java.lang.Object
    implements Unversioned
    simplest possible linked list
    • Field Summary

      Fields 
      Modifier and Type Field Description
      T _element
      carried object
      List4<T> _next
      next element in list
    • Constructor Summary

      Constructors 
      Constructor Description
      List4()
      db4o constructor to be able to store objects of this class
      List4​(List4<T> next, T element)  
      List4​(T element)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int size​(List4<?> list)  
      • Methods inherited from class java.lang.Object

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

      • _next

        public List4<T> _next
        next element in list
      • _element

        public T _element
        carried object
    • Constructor Detail

      • List4

        public List4()
        db4o constructor to be able to store objects of this class
      • List4

        public List4​(T element)
      • List4

        public List4​(List4<T> next,
                     T element)
    • Method Detail

      • size

        public static int size​(List4<?> list)