public static void main(String[] args) throws InterruptedException { for(int i=1; i<5000; i++) { createArrayList(); createHashMap(); createHashSet(); createHashtable(); createIndexMap(); createVector(); Thread.sleep(10); } System.out.println("finished"); Thread.sleep(10000); System.exit(0); } }
/** * Get the encodable representation. */ public Map getEncodableRepresentation() { IndexMap representation = SCollection.createIndexMap();; representation.add("isencodeablepresentation", "true"); // to distinguish this map from normal maps. representation.add("class", "ComposedFilter"); representation.add("operator", operatorToString(operator)); representation.add("filters", SUtil.arrayToString(filters)); return representation.getAsMap(); } }