Push Down

Push Down

In software engineering, Push Down refactoring involves moving a method from a superclass into a subclass. Compare the following Java classes before and after the Push Down refactor is applied:

public class SuperClass{ void methodA() { //do something } void methodB() { //do something else } } public class SubClass extends SuperClass { void methodC() { //do something } }

After the Push Down refactor is applied:

public class SuperClass{ void methodA() { //do something } } public class SubClass extends SuperClass{ void methodB() { //do something } void methodC() { //do something else } }

ee also

Pull Up refactoring


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • push down — v. (D; intr.) to push down on (to push down on a lid) * * * (D; intr.) to push down on (to push down on a lid) …   Combinatory dictionary

  • push-down — /poosh down /, n. Aeron. a sudden, downward shift by an aircraft in the direction of the flight path. Also called pushover. [1935 40; n. use of v. phrase push down] * * * …   Universalium

  • push down — phr verb Push down is used with these nouns as the object: ↑price …   Collocations dictionary

  • Push Down Accounting — In accounting for mergers and acquisitions, the convention of accounting of the purchase of a subsidiary at the purchase cost rather than its historical cost. This method of accounting is required under U.S. GAAP, but is not accepted in IFRS… …   Investment dictionary

  • Push-Down-Liste — dėklinis sąrašas statusas T sritis automatika atitikmenys: angl. last in first out list; LIFO list; push down list; pushdown list vok. LIFO Liste, f; Liste nach dem Kellerungsprinzip, f; Push Down Liste, f; Rückstelliste, f rus. магазинный список …   Automatikos terminų žodynas

  • push-down list — dėklinis sąrašas statusas T sritis automatika atitikmenys: angl. last in first out list; LIFO list; push down list; pushdown list vok. LIFO Liste, f; Liste nach dem Kellerungsprinzip, f; Push Down Liste, f; Rückstelliste, f rus. магазинный список …   Automatikos terminų žodynas

  • push-down list — noun a list in which the next item to be removed is the item most recently stored (LIFO) • Syn: ↑push down stack, ↑stack • Hypernyms: ↑list, ↑listing …   Useful english dictionary

  • push-down stack — noun a list in which the next item to be removed is the item most recently stored (LIFO) • Syn: ↑push down list, ↑stack • Hypernyms: ↑list, ↑listing …   Useful english dictionary

  • push-down storage — noun a storage device that handles data so that the next item to be retrieved is the item most recently stored (LIFO) • Syn: ↑push down store, ↑stack • Hypernyms: ↑memory device, ↑storage device …   Useful english dictionary

  • push-down store — noun a storage device that handles data so that the next item to be retrieved is the item most recently stored (LIFO) • Syn: ↑push down storage, ↑stack • Hypernyms: ↑memory device, ↑storage device …   Useful english dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”