• Install
  • Contribute
  • API Reference

ArrayUtils

Static Method: objectToString()

  • Business Issue: You have a List collection numbers, booleans, objects or any valid data type that needs to be converted to a List of String type
  • Parameters: List<Object>
  • Returns: List<String>
  • Notes: Passing a Null List<> return a Null List<> back

Static Method: reverse()

  • Business Issue: Reverses the order of any collection regardless of data type. For example, a collection of {1, 2, 3, 4} would be returned as {4, 3, 2, 1}
  • Parameters: Object
  • Returns: Object
  • Notes: Passing a Null returns a Null back

Static Method: lowerCase()

  • Business Issue: A List<> of String type has elements with mixed case and needs to be converted entirely to lowercase
  • Parameters: List<String>
  • Returns: List<String>
  • Notes: Passing a Null List<> return a Null List<> back

Static Method: upperCase()

  • Business Issue: A List<> of String type has elements with mixed case and needs to be converted entirely to uppercase
  • Parameters: List<String>
  • Returns: List<String>
  • Notes: Passing a Null List<> return a Null List<> back

Static Method: trim()

  • Business Issue: A List<> of String type has elements with leading or trailing white space characters and needs to have all the elements trimmed to remove leading and trailing spaces, tabs, newline characters, and so on.
  • Parameters: List<String>
  • Returns: List<String>
  • Notes: Passing a Null List<> return a Null List<> back

Static Method: mergex()

  • Business Issue: Two collection of any data type need to be combined into a single collection.
  • Parameter 1: Object OR SObject
  • Parameter 2: Object OR SObject
  • Returns: Object
  • Notes: Passing a Null List<> return a Null List<> back
  • Base

    • Collection Utilities
    • Exceptions
    • Platform Utilities
    • Sorting
    • String Manipulation
    • Type Conversion
    • Unit Test Helpers
  • Chatter

    • Chatter Follower Manipulations
  • Environment

    • Global Variables
  • Math

    • Randomization
    • Ranges
  • Query

    • Database Utilities
    • SOQL Builder
  • Sort

    • Sorting Primitives
    • Sorting Select Options
    • Sorting SObjects
  • Visualforce

    • Pagination

This website is open source. Please help us by forking the project and adding to it.