j'ai un problem a propo d'une creation d'un objet de classe en java je vous demande de m'envoyer un code en java pour creer une ligne et et cercle merci
* Adds each element of {@code elements} to the {@code ImmutableSet},
* ignoring duplicate elements (only the first duplicate element is added).
*
* @param elements the elements to add to the {@code ImmutableSet}
* @return this {@code Builder} object
* @throws NullPointerException if {@code elements} is or contains null
*/
public Builder<E> addAll(Iterator<? extends E> elements){
while(elements.hasNext()){
E element = elements.next();
checkNotNull(element, "element cannot be null");
contents.add(element);
}
returnthis;
}
/**
* Returns a newly-created {@code ImmutableSet} based on the contents of
* the {@code Builder}.
*/
public ImmutableSet<E> build(){
return copyOf(contents);
}
}
}
Message édité par masklinn le 02-05-2009 à 12:22:33
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Marsh Posté le 02-05-2009 à 11:25:42
j'ai un problem a propo d'une creation d'un objet de classe en java
je vous demande de m'envoyer un code en java pour creer une ligne et et cercle
merci