Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Java in General
need to query on list of map object
sudheer kiran
Ranch Hand
Posts: 237
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi all i have a List<Map<
String
,String>>> tableRowsMap.
its a list of map.
each map consists column name as key and row value as value.
my question is :
can i query on this list.
i need to find our the row for which i will pass some parameters.
please suggest.
i have option to change List<Map<String,String>>> to any collection type also.
Sudheer
SCWCD, SCJP 5
Jesper de Jong
Java Cowboy
Posts: 16084
88
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You can just loop through the list, and inside that loop check if the map contains what you're looking for.
Jesper's Blog
-
Pluralsight Author Page
Put the moon back where you found it! We need it for tides and poetry and stuff. Like this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
need to get column names in resultant table of sql query
is object a list of string or only a string?
How to retrieve metadata in ibatis
generics and maps
How to copy a SQL result into a Map
More...