C# 클래스 clojure.lang.Symbol

상속: AFn, IObj, Named, IComparable, ISerializable
파일 보기 프로젝트 열기: richhickey/clojure-clr 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_hash int
_name string
_ns string

공개 메소드들

메소드 설명
CompareTo ( object obj ) : int

Compare this symbol to another object.

Equals ( object obj ) : bool

Determine if an object is equal to this symbol.

Uses value semantics, value determined by namespace name and symbol name.

GetHashCode ( ) : int

Get the hash code.

ToString ( ) : string

Return a string representing the symbol.

getName ( ) : string

Gets the symbol name.

getNamespace ( ) : string

Get the namespace name.

meta ( ) : IPersistentMap
operator ( ) : bool
withMeta ( IPersistentMap meta ) : IObj

Create a copy with new metadata.

보호된 메소드들

메소드 설명
Symbol ( SerializationInfo info, StreamingContext context ) : System

Construct a Symbol during deserialization.

비공개 메소드들

메소드 설명
ComputeHashCode ( ) : int

Compute the hash code for the symbol.

GetObjectData ( SerializationInfo info, StreamingContext context ) : void
Symbol ( IPersistentMap meta, string ns_interned, string name_interned ) : System

Construct a symbol from interned namespace name and symbol name, with given metadata.

Symbol ( string ns_interned, string name_interned ) : System

Construct a symbol from interned namespace name and symbol name.

create ( String nsname ) : Symbol
create ( String ns, String name ) : Symbol
intern ( string nsname ) : Symbol
intern ( string ns, string name ) : Symbol
invoke ( Object obj ) : object
invoke ( Object obj, Object notFound ) : object

메소드 상세

CompareTo() 공개 메소드

Compare this symbol to another object.
public CompareTo ( object obj ) : int
obj object The object to compare to.
리턴 int

Equals() 공개 메소드

Determine if an object is equal to this symbol.
Uses value semantics, value determined by namespace name and symbol name.
public Equals ( object obj ) : bool
obj object The object to compare to.
리턴 bool

GetHashCode() 공개 메소드

Get the hash code.
public GetHashCode ( ) : int
리턴 int

Symbol() 보호된 메소드

Construct a Symbol during deserialization.
protected Symbol ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
리턴 System

ToString() 공개 메소드

Return a string representing the symbol.
public ToString ( ) : string
리턴 string

getName() 공개 메소드

Gets the symbol name.
public getName ( ) : string
리턴 string

getNamespace() 공개 메소드

Get the namespace name.
public getNamespace ( ) : string
리턴 string

meta() 공개 메소드

public meta ( ) : IPersistentMap
리턴 IPersistentMap

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool

withMeta() 공개 메소드

Create a copy with new metadata.
public withMeta ( IPersistentMap meta ) : IObj
meta IPersistentMap The new metadata.
리턴 IObj

프로퍼티 상세

_hash 보호되어 있는 프로퍼티

The cached hashcode.
protected int _hash
리턴 int

_name 보호되어 있는 프로퍼티

The name of the symbol.
This string must be interned.
protected string _name
리턴 string

_ns 보호되어 있는 프로퍼티

The name of the namespace for this symbol (if namespace-qualified).
This string must be interned.
protected string _ns
리턴 string