C# Class clojure.lang.Keyword

Inheritance: AFn, Named, IComparable, ISerializable, IHashEq
Afficher le fichier Open project: richhickey/clojure-clr Class Usage Examples

Private Properties

Свойство Type Description
GetObjectData void
Keyword System
find Keyword
find Keyword
find Keyword
intern Keyword
intern Keyword
intern Keyword
invoke object

Méthodes publiques

Méthode Description
CompareTo ( object obj ) : int

Compare this to another object.

Equals ( object obj ) : bool

Determines if an object is equal to this keyword. Value semantics.

GetHashCode ( ) : int

Gets a hash code for the keyword.

ToString ( ) : string

Returns a string representing the keyword.

getName ( ) : string

Gets the name.

getNamespace ( ) : string

Gets the namespace name.

invoke ( object arg1 ) : object

(:keyword arg) => (get arg :keyword)

operator ( ) : bool

Private Methods

Méthode Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
Keyword ( Symbol sym ) : System

Construct a keyword based on a symbol.

find ( String nsname ) : Keyword
find ( String ns, String name ) : Keyword
find ( Symbol sym ) : Keyword
intern ( String nsname ) : Keyword
intern ( Symbol sym ) : Keyword
intern ( string ns, string name ) : Keyword
invoke ( object arg1, object notFound ) : object

Method Details

CompareTo() public méthode

Compare this to another object.
public CompareTo ( object obj ) : int
obj object The object to compare to.
Résultat int

Equals() public méthode

Determines if an object is equal to this keyword. Value semantics.
public Equals ( object obj ) : bool
obj object The object to compare to.
Résultat bool

GetHashCode() public méthode

Gets a hash code for the keyword.
public GetHashCode ( ) : int
Résultat int

ToString() public méthode

Returns a string representing the keyword.
public ToString ( ) : string
Résultat string

getName() public méthode

Gets the name.
public getName ( ) : string
Résultat string

getNamespace() public méthode

Gets the namespace name.
public getNamespace ( ) : string
Résultat string

invoke() public final méthode

(:keyword arg) => (get arg :keyword)
public final invoke ( object arg1 ) : object
arg1 object The object to access.
Résultat object

operator() public static méthode

public static operator ( ) : bool
Résultat bool