RollingList.java


current inspection = 2009-09-03 21:56:13 (id #1)


Filter Options
Annotation Kind:
pre
presumption
post
unanalyzed
test_vector


  • bool add(Object)

  • Kind Annotation Text
    pre(soft) this.position >= -231+1
    prethis.capacity >= -231+1
    prethis.items != null
    postinit'ed(return_value)
    postinit'ed(this.position)
    postthis.position - old this.position in {-6_442_450_943..0}

  • void clear()

  • Kind Annotation Text
    prethis.items != null

  • void com.dmdirc.util.RollingList(int)

  • Kind Annotation Text
    postinit'ed(this.capacity)
    postnew ArrayList(RollingList#1) num objects == 1
    postthis.addEmpty == 0
    postthis.capacity == capacity
    postthis.items == &new ArrayList(RollingList#1)
    postthis.position == 0

  • void com.dmdirc.util.RollingList(int, Object)

  • Kind Annotation Text
    postinit'ed(this.capacity)
    postinit'ed(this.empty)
    postnew ArrayList(RollingList#1) num objects == 1
    postthis.addEmpty == 1
    postthis.capacity == capacity
    postthis.empty == empty
    postthis.items == &new ArrayList(RollingList#1)
    postthis.position == 0

  • com.dmdirc.util.RollingList__static_init

  • Kind Annotation Text

  • bool contains(Object)

  • Kind Annotation Text
    prethis.items != null
    postinit'ed(return_value)

  • Object get(int)

  • Kind Annotation Text
    prethis.items != null
    postinit'ed(return_value)

  • List getList()

  • Kind Annotation Text
    postnew ArrayList(getList#1) num objects == 1
    postreturn_value == &new ArrayList(getList#1)

  • Object getNext()

  • Kind Annotation Text
    pre(soft) init'ed(this.addEmpty)
    pre(soft) init'ed(this.empty)
    prethis.items != null
    prethis.position <= 232-2
    postinit'ed(return_value)
    postthis.position == old this.position + 1
    postthis.position >= -231+1
    unanalyzedcall on java.util.List:get
    test_vectorthis.addEmpty: {1}, {0}

  • int getPosition()

  • Kind Annotation Text
    preinit'ed(this.position)
    postinit'ed(return_value)
    postreturn_value == this.position

  • Object getPrevious()

  • Kind Annotation Text
    prethis.items != null
    prethis.position >= -231+1
    postinit'ed(return_value)
    postthis.position <= 232-2
    postthis.position == old this.position - 1
    unanalyzedcall on java.util.List:get

  • bool hasNext()

  • Kind Annotation Text
    pre(soft) init'ed(this.addEmpty)
    preinit'ed(this.position)
    prethis.items != null
    postinit'ed(return_value)

  • bool hasPrevious()

  • Kind Annotation Text
    preinit'ed(this.position)
    postinit'ed(return_value)

  • bool isEmpty()

  • Kind Annotation Text
    prethis.items != null
    postinit'ed(return_value)

  • bool remove(Object)

  • Kind Annotation Text
    prethis.items != null
    postinit'ed(return_value)

  • void seekToEnd()

  • Kind Annotation Text
    prethis.items != null
    postinit'ed(this.position)

  • void seekToStart()

  • Kind Annotation Text
    postthis.position == 0

  • void setPosition(int)

  • Kind Annotation Text
    postinit'ed(this.position)
    postthis.position == position