Code examples for Collection

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
920:	DefaultInitializor initialization = (DefaultInitializor) col.accept(new DefaultValueVisitor(true) { 
-
965:	if(col.isSorted()) { 
966:	comparator = col.getComparatorClassName(); 
-
970:	decl = c2j.getGenericCollectionDeclaration((Collection) p.getValue(), true, importContext); 
Full Snippet Info
5
CodeRank
45:	return c.getElement().accept( this ); 
Full Snippet Info
5
CodeRank
60:	assertEquals( "Incorrect Persister class for collection " + collection.getRole(), CollectionPersister.class, 
61:	collection.getCollectionPersisterClass() ); 
Full Snippet Info
5
CodeRank
196:	return create( persisterClass, COLLECTION_PERSISTER_CONSTRUCTOR_ARGS, cfg, collectionMetadata, cacheAccessStrategy, factory ); 
-
198:	 
Full Snippet Info
5
CodeRank
147:	if(collection.isIndexed()) { 
Full Snippet Info
5
CodeRank
447:	Type type = propertyValue.getType(); 
-
451:	TreeSet.class, SortedSetProxy.class, elementComponentData, propertyValue.getComparator())); 
-
460:	TreeMap.class, SortedMapProxy.class, elementComponentData, indexComponentData, propertyValue.getComparator())); 
Full Snippet Info
4
CodeRank
125:	String cacheRegion = mapping.getCacheRegionName(); 
126:	String collectionTable = mapping.getCollectionTable().getName(); 
Full Snippet Info
3
CodeRank