com.avaje.ebeaninternal.server.text.json.PathStack Maven / Gradle / Ivy
package com.avaje.ebeaninternal.server.text.json;
import com.avaje.ebeaninternal.server.util.ArrayStack;
public class PathStack extends ArrayStack {
public String peekFullPath(String key) {
String prefix = peekWithNull();
if (prefix != null) {
return prefix + "." + key;
} else {
return key;
}
}
public void pushPathKey(String key) {
String prefix = peekWithNull();
if (prefix != null) {
key = prefix + "." + key;
}
push(key);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy