gdoenlen / apexstruct

A library of data structures for the Salesforce Apex Language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apex Struct

Apex Struct is a type safe collection of data structures for the SFDC platform.

It also contains some useful utilities.

For the full documentation please see the generated documentation included in the docs folder.

Sources

Contents

Structs

Starred items are experimental

Self-Balancing Search Trees

  • AVLTree*
  • RedBlackTree*
    • This works properly, but on large data sets it will hit the CPU limit.
  • SkipList*

Graphs

  • ListGraph
  • MatrixGraph

Queues

  • LinkedQueue
  • PriorityQueue (implemented as a heap)

Stacks

  • LinkedStack

Supplementary Utilities

  • BinarySearch
  • DoubleUtils
  • HashCodeUtil
  • Randomizer
  • SinglePivotQuickSort

About

A library of data structures for the Salesforce Apex Language


Languages

Language:Apex 100.0%