< prev index next >

src/java.compiler/share/classes/javax/lang/model/element/Name.java

Print this page

        

*** 31,41 **** * general {@linkplain Object#equals equals contract} when compared * with each other. Therefore, {@code Name} objects from the same * implementation are usable in collections while {@code Name}s from * different implementations may not work properly in collections. * ! * <p>An empty {@code Name} has a length of zero. * * <p>In the context of {@linkplain * javax.annotation.processing.ProcessingEnvironment annotation * processing}, the guarantees for "the same" implementation must * include contexts where the {@linkplain javax.annotation.processing --- 31,41 ---- * general {@linkplain Object#equals equals contract} when compared * with each other. Therefore, {@code Name} objects from the same * implementation are usable in collections while {@code Name}s from * different implementations may not work properly in collections. * ! * <p><a id="empty_name">An {@linkplain CharSequence#isEmpty() empty} {@code Name} has a {@linkplain CharSequence#length() length} of zero.</a> * * <p>In the context of {@linkplain * javax.annotation.processing.ProcessingEnvironment annotation * processing}, the guarantees for "the same" implementation must * include contexts where the {@linkplain javax.annotation.processing
< prev index next >