Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Data class Interface help

Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, id like to make a common Interface both
Data and RemoteData class can implement which
exposes all the public methods.As it stands I'm
having a problem with them both using one inteface
which defines all the public methods of Data.
Here is the interface for Data class

here is the interface for RemoteData

What would be the way to make one common interface?
I thought perhaps that removing all the throws from
each method would work, but it causes compile errors.
I may be kinda confused..
[This message has been edited by Andre Mermegas (edited December 13, 2001).]
Andre Tow
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks guys, found what i was looking for in search!!
=) this place is awesome.

Andre Mermegas
Sun Certifed Java Programmer
It's a tiny ad. At least, that's what she said.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic