Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
You can use Wrapper Classes concept in apex for implementing the complex data structures. Here you can find a basic example of this:
https://developer.salesforce.com/page/Wrapper_Class