Code example for LinkedHashSet

Methods: size, toArray

0
		return IBeansModelElementTypes.IMPORT_TYPE; 
	} 
	 
	@Override 
	public IModelElement[] getElementChildren() { 
		Set<IModelElement> children = new LinkedHashSet<IModelElement>(
				getImportedBeansConfigs()); 
		return children.toArray(new IModelElement[children.size()]);
	} 
 
	@Override 
	public boolean equals(Object other) {
		if (this == other) {
			return true; 
		} 
		if (!(other instanceof BeansImport)) {
			return false; 
		} 
		BeansImport that = (BeansImport) other;
		if (!ObjectUtils.nullSafeEquals(this.resourcePath, that.resourcePath))
			return false;