Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
javax.lang.model.element

Interface Name

  • All Superinterfaces:
    CharSequence

    public interface Name
    extends CharSequence
    An immutable sequence of characters. When created by the same implementation, objects implementing this interface must obey the general equals contract when compared with each other. Therefore, Name objects from the same implementation are usable in collections while Names from different implementations may not work properly in collections.

    An empty Name has a length of zero.

    In the context of annotation processing, the guarantees for "the same" implementation must include contexts where the API mediated side effects of processors could be visible to each other, including successive annotation processing rounds.

    Since:
    1.6
    See Also:
    Elements.getName(java.lang.CharSequence)
    • Method Detail

      • equals

        boolean equals(Object obj)
        Returns true if the argument represents the same name as this, and false otherwise.

        Note that the identity of a Name is a function both of its content in terms of a sequence of characters as well as the implementation which created it.

        Overrides:
        equals in class Object
        Parameters:
        obj - the object to be compared with this element
        Returns:
        true if the specified object represents the same name as this
        See Also:
        Element.equals(java.lang.Object)
      • contentEquals

        boolean contentEquals(CharSequence cs)
        Compares this name to the specified CharSequence. The result is true if and only if this name represents the same sequence of char values as the specified sequence.
        Parameters:
        cs - The sequence to compare this name against
        Returns:
        true if this name represents the same sequence of char values as the specified sequence, false otherwise
        See Also:
        String.contentEquals(CharSequence)

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-javax/lang/model/element/name.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut