MCPcopy Create free account
hub / github.com/agateau/pixelwheels / replace

Method replace

core/src/com/agateau/ui/ScreenStack.java:48–53  ·  view source on GitHub ↗
(Screen screen)

Source from the content-addressed store, hash-verified

46 }
47
48 public void replace(Screen screen) {
49 if (!mStack.isEmpty()) {
50 mStack.pop().dispose();
51 }
52 push(screen);
53 }
54
55 public void clear() {
56 while (!mStack.isEmpty()) {

Callers 10

make_puncless_font_nameFunction · 0.80
mainFunction · 0.80
putMethod · 0.80
replaceScreenMethod · 0.80
getShortenedVersionMethod · 0.80
trnMethod · 0.80
trnMethod · 0.80
parseHeaderMethod · 0.80
parseStringMethod · 0.80
processTextMethod · 0.80

Calls 3

pushMethod · 0.95
popMethod · 0.80
disposeMethod · 0.45

Tested by

no test coverage detected