ParamsCache

class ParamsCache(list: ArrayList<List<Double>>) : List<List<Double>>

Different atom pairs will often yield the exact same forcefield parameters. This cache allows us to de-duplicate the params and save quite a bit of space/time.

Constructors

Link copied to clipboard
fun ParamsCache(list: ArrayList<List<Double>> = ArrayList())

Functions

Link copied to clipboard
open operator override fun contains(element: List<Double>): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<List<Double>>): Boolean
Link copied to clipboard
open fun forEach(p0: Consumer<in List<Double>>)
Link copied to clipboard
open operator override fun get(index: Int): List<Double>
Link copied to clipboard
fun index(params: List<Double>): Int
Link copied to clipboard
open override fun indexOf(element: List<Double>): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<List<Double>>
Link copied to clipboard
open override fun lastIndexOf(element: List<Double>): Int
Link copied to clipboard
open override fun listIterator(): ListIterator<List<Double>>
open override fun listIterator(index: Int): ListIterator<List<Double>>
Link copied to clipboard
open fun parallelStream(): Stream<List<Double>>
Link copied to clipboard
open override fun spliterator(): Spliterator<List<Double>>
Link copied to clipboard
open fun stream(): Stream<List<Double>>
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<List<Double>>
Link copied to clipboard
open fun <T : Any> toArray(p0: IntFunction<Array<T>>): Array<T>

Properties

Link copied to clipboard
open override val size: Int