Bắt đầu với IBM Websphere smash - p 13
48
lượt xem 2
download
lượt xem 2
download
Download
Vui lòng tải xuống để xem tài liệu đầy đủ
102 Chapter 5 Global Context Listing 5.42 Testing if the Global Context Contains a Particular Variable if(app.string[]) { //do something } Like zcontains, this can be used as a guard code that needs to have particular variables available. In Groovy, there are no shortcuts for other Java methods, so we would just use the Java version in Groovy. Lists Just like Java, in Groovy, lists are indexed lists of objects. To put a single list variable into the global context in Java, we use the zput method. zput Method To put a list into the global context, we use the zput method: boolean zput(String location, List list); In...
Chủ đề:
Bình luận(0) Đăng nhập để gửi bình luận!
CÓ THỂ BẠN MUỐN DOWNLOAD