Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Design Pattern  RSS feed

 
Niranjan Prasad
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally FileReaders are wrapped into BufferedReaders for performance and so
what is the design pattern they implement

This is the question asked in GE
 
Jan Groth
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wrapper?
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Niranjan Prasad:

This is the question asked in GE


What is GE?
 
Vijaishanker bala
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess might be the decorator pattern...

Vijai
 
Niranjan Prasad
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Plse answer my previous question?
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16046
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vijaishanker bala already answered it.
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Niranjan Prasad:
Plse answer my previous question?


I will if you answer mine. What is "GE"?
 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is "GE"?


General Electric.....Hope so
 
Appu Chan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java IO APIs are typical examples for Decorator pattern.

Decorators are often used when subclassing requires a large number of subclasses to support every possible combination needed – so many that subclassing becomes impractical. The Java IO library requires many different combinations of features which is why the decorator pattern is a good approach.


GE must be General Electric. This is a big American MNC

Howie
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by vidya sagar:


General Electric.....Hope so


Then what was the relevance of writing in the original post "This is the question asked in GE"? I thought whatever "GE" is, it may be some radical form of Design Patterns.

According to Wikipedia's disambiguation page Ge or GE may stand for:

* Ge (Cyrillic) ( Г, г ), a letter of the Cyrillic alphabet
* Ge with upturn ( Ґ, ґ ), a letter of the Ukrainian alphabet
* Gaia (mythology), a short name for
* Ge (or Je) - indigenous Brazilian tribes or the Ge languages associated with them
* Dagger-axe (ge), a type of ancient Chinese weapon
* Germanium (Ge), a chemical element
* Georgia (country): ISO 3166-1 alpha-2 country code
* Canton of Geneva, Switzerland
* Genetic engineering (g.e.)
* General Electric (GE)
* Nikolai Ge (1831�1894), a Russian painter
* Gigabit Ethernet, a networking technology
* TransAsia Airways IATA code
[ June 12, 2006: Message edited by: Jeff Albertson ]
 
Niranjan Prasad
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is GE(GeneralElectricals) Software Company
NiranjanPrasad
 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Jeff

cool man cool

hi Niranjan

Try to avoid (GE)these type of words ina forum,because this is viewed by viewers in all over the world.If that type of word is a java term then all can grasp.
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm stilling trying to figure out how the statement "This is the question asked in GE" was relevant to the question. Does the General have his own set of Design Patterns?
 
Vishwas Hegde
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm stilling trying to figure out how the statement "This is the question asked in GE" was relevant to the question. Does the General have his own set of Design Patterns?




I guess, probably.. it was asked in the interview.


This is the question asked in GE


That was just a piece of information, which was not relevant here.

~~Vishwas
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!