cc.factorie.util

ProtectedIntArrayBuffer

trait ProtectedIntArrayBuffer extends AnyRef

Embeds an efficient array of Ints, with convenient _append, _prepend, etc.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProtectedIntArrayBuffer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def _append(elem: Int): ProtectedIntArrayBuffer.this.type

    Attributes
    protected
    Annotations
    @inline()
  7. def _appendAll(elts: TraversableOnce[Int]): Unit

    Attributes
    protected
  8. def _appendAll(elts: Array[Int]): Unit

    Attributes
    protected
  9. final def _apply(index: Int): Int

    Attributes
    protected
    Annotations
    @inline()
  10. def _array: Array[Int]

    Attributes
    protected
  11. final def _asArray: Array[Int]

    Attributes
    protected
    Annotations
    @inline()
  12. def _asIntSeq: IntSeq

    Attributes
    protected
  13. def _asSeq: IndexedSeq[Int]

    Attributes
    protected
  14. def _capacityGrowthFactor: Double

    Attributes
    protected
  15. def _clear(): Unit

    Attributes
    protected
  16. def _considerShrinkingCapacity(): Unit

    Attributes
    protected
  17. def _containsSorted(x: Int): Boolean

    Attributes
    protected
  18. def _copyToArray(a: Array[Int]): Unit

    Attributes
    protected
  19. final def _ensureCapacity(cap: Int): Unit

    Attributes
    protected
    Annotations
    @inline()
  20. def _fill(elt: Int): Unit

    Attributes
    protected
  21. def _foreach[U](f: (Int) ⇒ U): Unit

    Attributes
    protected
  22. final def _increment(index: Int, incr: Int): Unit

    Attributes
    protected
    Annotations
    @inline()
  23. def _indexForInsertSorted(i: Int): Int

    Return the index at which value i should be inserted in order to maintain sorted order.

    Return the index at which value i should be inserted in order to maintain sorted order. This assumes that the existing elements already already sorted. If value i is already present, return its index.

    Attributes
    protected
  24. def _indexForInsertSortedLinear(i: Int): Int

    Attributes
    protected
  25. def _indexOf(i: Int): Int

    Return the index containing the value i, or -1 if i is not found.

    Return the index containing the value i, or -1 if i is not found.

    Attributes
    protected
  26. def _indexOfSorted(i: Int): Int

    Return the index containing the value i, or -1 if i is not found.

    Return the index containing the value i, or -1 if i is not found. Do so more efficiently by assuming that the contents are sorted in ascending order. Look by starting near the last index as which a search was successful.

    Attributes
    protected
  27. def _initialCapacity: Int

    Attributes
    protected
  28. def _insert(index: Int, elt: Int): Unit

    Attributes
    protected
  29. def _insertAll(index: Int, seq: Traversable[Int]): Unit

    Attributes
    protected
  30. def _insertAllSorted(seq: Traversable[Int]): Unit

    Attributes
    protected
  31. def _insertSorted(elt: Int): Unit

    Attributes
    protected
  32. def _insertSortedNoDuplicates(elt: Int): Unit

    Attributes
    protected
  33. final def _length: Int

    Attributes
    protected
    Annotations
    @inline()
  34. def _mapToArray[A](a: Array[A], f: (Int) ⇒ A): Unit

    Attributes
    protected
  35. def _prepend(elt: Int): Unit

    Attributes
    protected
  36. def _prependAll(elts: TraversableOnce[Int]): Unit

    Attributes
    protected
  37. def _reduceToSize(newSize: Int): Unit

    Attributes
    protected
  38. def _remove(index: Int): Unit

    Attributes
    protected
  39. def _remove(index: Int, count: Int): Unit

    Attributes
    protected
  40. def _set(elts: Seq[Int]): Unit

    Attributes
    protected
  41. def _set(elts: Array[Int]): Unit

    Attributes
    protected
  42. final def _setCapacity(cap: Int): Unit

    Attributes
    protected
    Annotations
    @inline()
  43. def _sizeHint(len: Int): Unit

    Attributes
    protected
  44. def _sum: Int

    Attributes
    protected
  45. def _takeAsIntSeq(len: Int): IntSeq

    Attributes
    protected
  46. def _toArray: Array[Int]

    Attributes
    protected
  47. def _toSeq: IndexedSeq[Int]

    Attributes
    protected
  48. def _trimCapacity(): Unit

    Attributes
    protected
  49. final def _update(index: Int, value: Int): Unit

    Attributes
    protected
    Annotations
    @inline()
  50. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  51. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  53. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  54. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  55. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  56. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  57. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  58. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  59. final def notify(): Unit

    Definition Classes
    AnyRef
  60. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  61. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  62. def toString(): String

    Definition Classes
    AnyRef → Any
  63. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped