Results 1 to 2 of 2
- 01-15-2010, 09:06 AM #1
Member
- Join Date
- Dec 2009
- Location
- DKI Jakarta, Indonesia
- Posts
- 10
- Rep Power
- 0
Filter cannot be resolved to a type??
I had error showed with this code
@ line I declared class AgeFilter, there's error:
"Filter cannot be resolved to a type"
private static class AgeFilter implements Filter {
/**
* Accept child rows when age > 50.
*
* @param child The child ResultSet.
* @return true, if age > 50.
*
*/
public boolean evaluate( ResultSet child )
{
try {
ResultSet cursor = (ResultSet) child;
int age = cursor.getInt( "Employee.age" );
return age > 50;
} catch( ULjException exc ) {
Demo.displayException( exc );
return false;
}
}
}
I m newbie in JAVA, so I didn't understand why that error keep showed??
What should I do to get out from this error?? Any suggestion for me??
Any help would be appreciated
-Harrie-
- 01-15-2010, 09:19 AM #2
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
Similar Threads
-
The import java.security cannot be resolved??
By Harrie_KalaChakra in forum EclipseReplies: 9Last Post: 01-20-2010, 05:15 AM -
Javax.net is not resolved in Eclipse
By ansh12 in forum EclipseReplies: 0Last Post: 07-04-2009, 12:27 PM -
web content filter or internet filter
By sundarjothi in forum Advanced JavaReplies: 3Last Post: 05-15-2008, 11:36 AM -
Mark thread RESOLVED.
By Eranga in forum Suggestions & FeedbackReplies: 45Last Post: 04-02-2008, 10:34 AM -
can't use classes in own package ... cannot be resolved into a type
By doood123 in forum New To JavaReplies: 1Last Post: 12-18-2007, 10:41 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks