WordNet
v. cause to come or go down; "The policeman downed the heavily armed suspect"; "The mugger knocked down the old lady after she refused to hand over her wallet" [syn: down, knock down, cut down, pull down]
Wikipedia
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
}
}