Note: Some of these keymapping are specific to IdeaVim plugin. If you don't use IdeaVim (what' wrong with you :)), I've tried to point out where they differ, but I could have missed a few
Ctrl-P- Popup parameter documentation for method calls
Note: Some of these keymapping are specific to IdeaVim plugin. If you don't use IdeaVim (what' wrong with you :)), I've tried to point out where they differ, but I could have missed a few
Ctrl-P - Popup parameter documentation for method calls| import org.apache.poi.ss.usermodel.* | |
| import org.apache.poi.hssf.usermodel.* | |
| import org.apache.poi.xssf.usermodel.* | |
| import org.apache.poi.ss.util.* | |
| import org.apache.poi.ss.usermodel.* | |
| import java.io.* | |
| class GroovyExcelParser { | |
| //http://poi.apache.org/spreadsheet/quick-guide.html#Iterator |
| mit dem Matcher können komplexere Vergleiche mit "assertThat" getestet werden, hier ein einfaches Beispiel, | |
| welches testet, dass zwei Daten am gleichen Tag sind. | |
| import org.hamcrest.BaseMatcher; | |
| import org.hamcrest.Description; | |
| import org.hamcrest.Matcher; | |
| ... |
| # Inputs | |
| feature_names <- c("Feature 5", "Feature 4", "Feature 3", "Feature 2", "Feature 1") | |
| num_features <- length(feature_names) | |
| y <- array(c(10,4,1,0, 3,4,2,0, 1,2,8,1, 0,0,5,1, 1,2,5,3), dim=c(4,num_features)) | |
| # Calculate plot | |
| num_neg_ratings <- 0 | |
| num_pos_ratings <- 0 | |
| for(i in 1:num_features) { | |
| num_neg_ratings = max(num_neg_ratings, sum(y[1:2,i]), sum(y[3:4,i])) |