Class IntrusiveList<T extends IntrusiveListElem<T>>

    • Constructor Detail

      • IntrusiveList

        public IntrusiveList()
    • Method Detail

      • isEmpty

        @EnsuresNonNullIf(expression="next",
                          result=false)
        public boolean isEmpty()
      • choose

        public @Nullable T choose()
        Retrieves any block from the list. If the list is empty, null is returned.
        Returns:
        any block from the list, or null if the list is empty.
      • size

        public int size()