Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package opalj

    OPAL is a Scala-based framework for the static analysis, manipulation and creation of Java bytecode.

    OPAL is a Scala-based framework for the static analysis, manipulation and creation of Java bytecode. OPAL is designed with performance, scalability and adaptability in mind.

    Its main components are:

    • a library (Common) which provides generally useful data-structures and algorithms for static analyses.
    • a framework for implementing lattice based static analyses (Static Analysis Infrastructure)
    • a framework for parsing Java bytecode (Bytecode Infrastructure) that can be used to create arbitrary representations.
    • a library to create a one-to-one in-memory representation of Java bytecode (Bytecode Disassembler).
    • a library to create a representation of Java bytecode that facilitates writing simple static analyses (Bytecode Representation - org.opalj.br).
    • a scalable, easily customizable framework for the abstract interpretation of Java bytecode (Abstract Interpretation Framework - org.opalj.ai).
    • a library to extract dependencies between code elements and to facilitate checking architecture definitions.
    • a library for the lightweight manipulation and creation of Java bytecode (Bytecode Assembler).

    General Design Decisions

    Thread Safety

    Unless explicitly noted, OPAL is thread safe. I.e., the classes defined by OPAL can be considered to be thread safe unless otherwise stated. (For example, it is possible to read and process class files concurrently without explicit synchronization on the client side.)

    No null Values

    Unless explicitly noted, OPAL does not null values I.e., fields that are accessible will never contain null values and methods will never return null. If a method accepts null as a value for a parameter or returns a null value it is always explicitly documented. In general, the behavior of methods that are passed null values is undefined unless explicitly documented.

    No Typecasts for Collections

    For efficiency reasons, OPAL sometimes uses mutable data-structures internally. After construction time, these data-structures are generally represented using their generic interfaces (e.g., scala.collection.{Set,Map}). However, a downcast (e.g., to add/remove elements) is always forbidden as it would effectively prevent thread-safety.

    Assertions

    OPAL makes heavy use of Scala's Assertion Facility to facilitate writing correct code. Hence, for production builds (after thorough testing(!)) it is highly recommend to build OPAL again using -Xdisable-assertions.

    Definition Classes
    org
  • package collection

    OPAL's collection library is primarily designed with high performance in mind.

    Design Goals

    OPAL's collection library is primarily designed with high performance in mind. I.e., all methods provided by the collection library are reasonably optimized. However, providing a very large number of methods is a non-goal. Overall, OPAL's collection library provides:

    • collection classes that are manually specialized for primitive data-types.
    • collection classes that are optimized for particularly small collections of values.
    • collection classes that target special use cases such as using a collection as a workset/worklist.
    • collection classes that offer special methods that minimize the number of steps when compared to general purpose methods.

    Integration With Scala's Collection Library

    Hence, OPAL's collection library complements Scala's default collection library and is not intended to replace it. Integration with Scala's collection library is primarily provided by means of iterators (OPAL's Iterators inherit from Scala's Iterators). Furthermore the companion object of each of OPAL's collection classes generally provides factory methods that facilitate the conversion from Scala collection classes to OPAL collection classes.

    Status

    The collection library is growing. Nevertheless, the existing classes are production ready.

    Definition Classes
    opalj
  • package immutable
    Definition Classes
    collection
  • :&:
  • BitArraySet
  • Chain
  • ConstArray
  • ConstCovariantArray
  • EmptyIntArraySet
  • EmptyIntTrieSet
  • EmptyLongTrieSet
  • FilteredIntTrieSet
  • FilteredLongTrieSet
  • IdentityPair
  • IntArray
  • IntArraySet
  • IntArraySet1
  • IntArraySetBuilder
  • IntArraySetN
  • IntIntPair
  • IntRefPair
  • IntTrieSet
  • IntTrieSet1
  • IntTrieSetBuilder
  • IntWorkSet
  • LongRefPair
  • LongTrieSet
  • LongTrieSet1
  • LongTrieSetBuilder
  • LongWorkSet
  • Naught
  • NonEmptyUIDSet
  • Pair
  • RefArray
  • UIDLinearProbingSet
  • UIDSet
  • UIDSet0
  • UIDSet1
  • UIDSet2
  • UIDSet3
  • UIDTrieSetInnerNode
  • UIDTrieSetLeaf
  • UShortPair

object Naught extends Chain[Nothing] with Product with Serializable

An empty Chains.

Linear Supertypes
Product, Equals, Chain[Nothing], Serializable, Serializable, FilterMonadic[Nothing, Chain[Nothing]], TraversableOnce[Nothing], GenTraversableOnce[Nothing], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Naught
  2. Product
  3. Equals
  4. Chain
  5. Serializable
  6. Serializable
  7. FilterMonadic
  8. TraversableOnce
  9. GenTraversableOnce
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class ChainWithFilter extends FilterMonadic[T, Chain[T]]

    Represents a filtered Chain.

    Represents a filtered Chain. Instances of ChainWithFilter are typically created by Chain's withFilter method.

    Definition Classes
    Chain

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++[X >: Nothing](other: Traversable[X]): Chain[X]
    Definition Classes
    Chain
  4. def ++[X >: Nothing](that: Chain[X]): Chain[X]
    Definition Classes
    Chain
  5. def /:[B](z: B)(op: (B, Nothing) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  6. def :&:(x: Int)(implicit ev: <:<[Naught.this.type, Chain[Int]]): Chain[Int]

    Prepends the given int value to this Chain if this chain is a chain of int values.

    Prepends the given int value to this Chain if this chain is a chain of int values.

    Definition Classes
    Chain
  7. def :&:[X >: Nothing](x: X): Chain[X]

    Prepends the given element to this Chain.

    Prepends the given element to this Chain.

    Definition Classes
    Chain
  8. def :&::[X](x: Chain[X]): Chain[X]

    Prepends the given Chain to this chain.

    Prepends the given Chain to this chain.

    Definition Classes
    NaughtChain
  9. def :\[B](z: B)(op: (Nothing, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def addString(b: StringBuilder): StringBuilder
    Definition Classes
    TraversableOnce
  12. def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    TraversableOnce
  13. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    TraversableOnce
  14. def aggregate[B](z: ⇒ B)(seqop: (B, Nothing) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  15. def apply(index: Int): Nothing

    Returns the value of the element of this list with the given index.

    Returns the value of the element of this list with the given index.

    index

    A valid index. A value in the range [0...this.size-1].

    Definition Classes
    Chain
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  18. def collectFirst[B](pf: PartialFunction[Nothing, B]): Option[B]
    Definition Classes
    TraversableOnce
  19. def contains[X >: Nothing](e: X): Boolean
    Definition Classes
    Chain
  20. def copyToArray[B >: Nothing](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
    Chain → TraversableOnce → GenTraversableOnce
  21. def copyToArray[B >: Nothing](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  22. def copyToArray[B >: Nothing](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  23. def copyToBuffer[B >: Nothing](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  24. def corresponds[X](other: Chain[X])(f: (Nothing, X) ⇒ Boolean): Boolean

    Definition Classes
    Chain
    See also

    merge

  25. def count(p: (Nothing) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  26. def drop(n: Int): Naught.type
    Definition Classes
    NaughtChain
  27. def dropWhile(f: (Nothing) ⇒ Boolean): Chain[Nothing]
    Definition Classes
    Chain
  28. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  30. def exists(f: (Nothing) ⇒ Boolean): Boolean
    Definition Classes
    Chain → TraversableOnce → GenTraversableOnce
  31. def filter(f: (Nothing) ⇒ Boolean): Chain[Nothing]
    Definition Classes
    NaughtChain
  32. def filterNot(f: (Nothing) ⇒ Boolean): Chain[Nothing]
    Definition Classes
    Chain
  33. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. def find(p: (Nothing) ⇒ Boolean): Option[Nothing]
    Definition Classes
    Chain → TraversableOnce → GenTraversableOnce
  35. def flatMap[B, That](f: (Nothing) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Chain[Nothing], B, That]): That
    Definition Classes
    Chain → FilterMonadic
  36. def fold[A1 >: Nothing](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  37. def foldLeft[B](z: B)(op: (B, Nothing) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  38. def foldRight[B](z: B)(op: (Nothing, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  39. def forFirstN[U](n: Int)(f: (Nothing) ⇒ U): Unit
    Definition Classes
    Chain
  40. def forall(f: (Nothing) ⇒ Boolean): Boolean
    Definition Classes
    Chain → TraversableOnce → GenTraversableOnce
  41. def foreach[U](f: (Nothing) ⇒ U): Unit
    Definition Classes
    Chain → FilterMonadic → TraversableOnce → GenTraversableOnce
  42. def foreachWhile(f: (Nothing) ⇒ Boolean): Boolean

    Executes the given function f for each element of this chain as long as it returns true.

    Executes the given function f for each element of this chain as long as it returns true.

    Definition Classes
    Chain
  43. def fuse[X <: AnyRef](that: Chain[X], onDiff: (Nothing, X) ⇒ X): Chain[X]

    Fuses this chain with the given chain by fusing the values using the given function.

    Fuses this chain with the given chain by fusing the values using the given function. The function onDiff is only called if the given list's element and this list's element differ. Hence, when the tail of both lists is equal fusing both lists will terminate immediately and the common tail is attached to the new heading.

    Definition Classes
    NaughtChain
  44. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  45. final def hasDefiniteSize: Boolean
    Definition Classes
    Chain → TraversableOnce → GenTraversableOnce
  46. def hasMultipleElements: Boolean
    Definition Classes
    NaughtChain
  47. def head: Nothing
    Definition Classes
    NaughtChain
  48. def headOption: Option[Nothing]
    Definition Classes
    NaughtChain
  49. def isEmpty: Boolean
    Definition Classes
    Naught → TraversableOnce → GenTraversableOnce
  50. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  51. def isSingletonList: Boolean
    Definition Classes
    NaughtChain
  52. final def isTraversableAgain: Boolean
    Definition Classes
    Chain → GenTraversableOnce
  53. def last: Nothing
    Definition Classes
    Chain
  54. def map[B, That](f: (Nothing) ⇒ B)(implicit bf: CanBuildFrom[Chain[Nothing], B, That]): That
    Definition Classes
    Chain → FilterMonadic
  55. def mapConserve[X <: AnyRef](f: (Nothing) ⇒ X): Chain[X]
    Definition Classes
    NaughtChain
  56. def mapToIntIterator(f: (Nothing) ⇒ Int): IntIterator
    Definition Classes
    Chain
  57. def max[B >: Nothing](implicit cmp: Ordering[B]): Nothing
    Definition Classes
    TraversableOnce → GenTraversableOnce
  58. def maxBy[B](f: (Nothing) ⇒ B)(implicit cmp: Ordering[B]): Nothing
    Definition Classes
    TraversableOnce → GenTraversableOnce
  59. def merge[X <: AnyRef, Z <: AnyRef](that: Chain[X])(f: (Nothing, X) ⇒ Z): Chain[Z]

    Merges this chain with the given chain by merging the values using the given function.

    Merges this chain with the given chain by merging the values using the given function. If all results are the same (reference equality) as this chain's elements then the result will be this. Otherwise, only the tail that is identical will be kept.

    Definition Classes
    NaughtChain
  60. def min[B >: Nothing](implicit cmp: Ordering[B]): Nothing
    Definition Classes
    TraversableOnce → GenTraversableOnce
  61. def minBy[B](f: (Nothing) ⇒ B)(implicit cmp: Ordering[B]): Nothing
    Definition Classes
    TraversableOnce → GenTraversableOnce
  62. def mkString(pre: String, sep: String, post: String): String
    Definition Classes
    Chain → TraversableOnce → GenTraversableOnce
  63. def mkString: String
    Definition Classes
    Chain → TraversableOnce → GenTraversableOnce
  64. def mkString(sep: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  65. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  66. def nonEmpty: Boolean
    Definition Classes
    NaughtChain → TraversableOnce → GenTraversableOnce
  67. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  68. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  69. def product[B >: Nothing](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  70. def reduce[A1 >: Nothing](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  71. def reduceLeft[B >: Nothing](op: (B, Nothing) ⇒ B): B
    Definition Classes
    TraversableOnce
  72. def reduceLeftOption[B >: Nothing](op: (B, Nothing) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  73. def reduceOption[A1 >: Nothing](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  74. def reduceRight[B >: Nothing](op: (Nothing, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  75. def reduceRightOption[B >: Nothing](op: (Nothing, B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  76. def reverse: Chain[Nothing]
    Definition Classes
    NaughtChain
  77. def reversed: List[Nothing]
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  78. final def seq: Naught.this.type
    Definition Classes
    Chain → TraversableOnce → GenTraversableOnce
  79. def sharedPrefix[X >: Nothing](other: Chain[X]): Chain[Nothing]

    Computes the shared prefix.

    Computes the shared prefix.

    Definition Classes
    Chain
  80. def size: Int

    Counts the number of elements.

    Counts the number of elements.

    returns

    The size of this list.

    Definition Classes
    Chain → TraversableOnce → GenTraversableOnce
    Note

    This operation has complexity O(n).

  81. def sizeHintIfCheap: Int
    Attributes
    protected[scala.collection]
    Definition Classes
    GenTraversableOnce
  82. def startsWith[X >: Nothing](other: Chain[X]): Boolean
    Definition Classes
    Chain
  83. def sum[B >: Nothing](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  84. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  85. def tail: Nothing
    Definition Classes
    NaughtChain
  86. def take(n: Int): Naught.type

    Takes the first n elements of this list.

    Takes the first n elements of this list. If this list does not contain at least n elements an IllegalStateException will be thrown.

    n

    An int value in the range [0...this.size].

    returns

    A list consisting of the first n value.

    Definition Classes
    NaughtChain
  87. def takeUpTo(n: Int): Naught.this.type

    Takes up to the first n elements of this list.

    Takes up to the first n elements of this list. The returned list will contain at most this.size elements.

    n

    An int value euqal or larger than 0.

    returns

    A list consisting of the first n value.

    Definition Classes
    NaughtChain
  88. def takeWhile(f: (Nothing) ⇒ Boolean): Chain[Nothing]
    Definition Classes
    NaughtChain
  89. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Nothing, Col[Nothing]]): Col[Nothing]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def toArray[B >: Nothing](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def toBuffer[B >: Nothing]: Buffer[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def toIndexedSeq: IndexedSeq[Nothing]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def toIntArraySet(implicit ev: <:<[Nothing, Int]): IntArraySet
    Definition Classes
    Chain
  94. def toIntTrieSet(implicit ev: <:<[Nothing, Int]): IntTrieSet
    Definition Classes
    Chain
  95. def toIterable: Iterable[Nothing]
    Definition Classes
    Chain → TraversableOnce → GenTraversableOnce
  96. def toIterator: Iterator[Nothing]
    Definition Classes
    Chain → GenTraversableOnce
  97. def toList: List[Nothing]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. def toMap[T, U](implicit ev: <:<[Nothing, (T, U)]): Map[T, U]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  99. def toSeq: Seq[Nothing]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def toSet[B >: Nothing]: Set[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. def toStream: Stream[Nothing]
    Definition Classes
    Chain → GenTraversableOnce
  102. def toTraversable: Traversable[Nothing]

    Returns a newly created Traversable[T] collection.

    Returns a newly created Traversable[T] collection.

    Definition Classes
    Chain → TraversableOnce → GenTraversableOnce
  103. def toVector: Vector[Nothing]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  105. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  106. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  107. def withFilter(p: (Nothing) ⇒ Boolean): ChainWithFilter
    Definition Classes
    Chain → FilterMonadic
  108. def zip[X](other: Chain[X]): Chain[(Nothing, X)]
    Definition Classes
    Chain
  109. def zip[X](other: GenIterable[X]): Chain[(Nothing, X)]
    Definition Classes
    Chain
  110. def zipWithIndex: Chain[(Nothing, Int)]
    Definition Classes
    Chain

Inherited from Product

Inherited from Equals

Inherited from Chain[Nothing]

Inherited from Serializable

Inherited from Serializable

Inherited from FilterMonadic[Nothing, Chain[Nothing]]

Inherited from TraversableOnce[Nothing]

Inherited from GenTraversableOnce[Nothing]

Inherited from AnyRef

Inherited from Any

Ungrouped