intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Bắt đầu với IBM Websphere smash - p 13

Chia sẻ: Yukogaru Yukogaru | Ngày: | Loại File: PDF | Số trang:10

48
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ủ đề:
Lưu

Nội dung Text: Bắt đầu với IBM Websphere smash - p 13

ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
3=>0