This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes tabular data structure in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "tabular data structure in java" Watch "tabular data structure in java" New topic

tabular data structure in java

Kumar Gaurav
Ranch Hand

Joined: Apr 08, 2008
Posts: 108
Hi All,

Do we have a sql table like data structure in Java?
Can we achieve it by any other means?

Looking for the pointer.

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990

Object data[][] ?
List<List<Object>> ?

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Rob Spoor

Joined: Oct 27, 2005
Posts: 19541

And JTable with TableModel for user interfaces.

How To Ask Questions How To Answer Questions
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 36478
DataObject[]. That way you can have the different types of data in the individual fields.
I agree. Here's the link:
subject: tabular data structure in java
Similar Threads
session question
knapsack, towers of hanoi, v. stuck!
Stack and Queue Implementation
Header from network packet
How to write a spell checker?