Extract class

Extract class

In Software engineering, the Extract class refactoring is applied when a class becomes overweight with too many methods and it's purpose becomes unclear. It involves creating a new class and moving methods and/or data to the new class.

Further reading

*cite book
first = Martin
last = Fowler
authorlink = Martin Fowler
year = 1999
title = Refactoring. Improving the Design of Existing Code
publisher = Addison-Wesley
id = ISBN 0-201-48567-2

*http://www.refactoring.com/catalog/extractClass.html


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Private class data — Выделение частного класса данных используется для сокрытия атрибутов и их манипуляциям. Частный случай рефакторинга «Extract Class» (Выделение класса) Пример реализации на C#   namespace Private class data { class Program { static void… …   Википедия

  • County class cruiser — For the pre–World War I armoured cruisers, see Monmouth class cruiser. Canberra passing under the Sydney Harbour Bridge in 1930 Class overv …   Wikipedia

  • Fermented wheat germ extract — (FWGE), also called fermented wheat germ powder (FWGP) is a concentrated extract of wheat germ fermented by baker s yeast, used primarily for its ability to stimulate and modulate immune system function.FWGP is approved as a medical nutriment for …   Wikipedia

  • Liebig Extract of Meat Company — The Liebig Extract of Meat Company (Lemco) was the originator of Liebig and Oxo meat extracts and later Oxo beef stock cubes. It was named after Baron Justus von Liebig, the German 19th century organic chemist who founded it.Early developmentIn… …   Wikipedia

  • Hyūga class helicopter destroyer — The Hyūga class helicopter destroyers are a type of helicopter carrier (though called helicopter destroyers (DDH) for constitutional reasons) being built for the Japan Maritime Self Defense Force (JMSDF).] Defense News in the US reported shortly… …   Wikipedia

  • Social class — Sociology …   Wikipedia

  • Partial class — A partial class, or partial type, is a feature of some object oriented computer programming languages in which the declaration of a class may be split across multiple source code files, or multiple places within a single file. Purpose The purpose …   Wikipedia

  • Armament of the Iowa class battleship — The armament of the engaged the Imperial Japanese Navy battlecruiser Kirishima at a range of convert|18500|yd|m| 2 at night.cite book | last = Mindell | first = David | title = Between Human and Machine | publisher = Johns Hopkins | date = 2002 | …   Wikipedia

  • Victorian Railways B class — Infobox Locomotive name = Victorian Railways B class caption = B class with original spark arresting funnel powertype = steam data for = Victorian Railways B class designer = builder = R and W Hawthorn, Beyer, Peacock and Company, Phoenix Foundry …   Wikipedia

  • York class cruiser — The York class was the second and last class of convert|8|in|mm|0|sing=on gunned (heavy) cruisers built for the Royal Navy under the terms of the Washington Naval Treaty of 1922. The were essentially a reduced version of the preceding County… …   Wikipedia

Share the article and excerpts

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