C# Class Cream.AllenTemporal.AllenDomain

Inheritance: Domain
Show file Open project: kikoanis/CSharpCream Class Usage Examples

Public Properties

Property Type Description
EMPTY AllenDomain
FULL AllenDomain

Public Methods

Method Description
AllenDomain ( ) : System

Initializes a new instance of the AllenDomain class.

AllenDomain ( int st, int lt ) : System

AllenDomain Constructor with a starting time and latest time only The duration and step here are assumed 1

AllenDomain ( int st, int lt, int duration ) : System

Initializes a new instance of the AllenDomain class.

AllenDomain ( int st, int lt, int duration, int step ) : System

AllenDomain Constructor with a starting time, latest time, duration and a step

CONTAINS ( int elem ) : bool

CONTAINSs the specified elem.

Cap ( Domain d ) : Domain

Caps the specified d.

CapInterval ( int lo, int hi ) : AllenDomain

Caps the interval.

Clone ( ) : Object

Clones this instance.

Contains ( Object o ) : bool

Determines whether [contains] [the specified o].

Cup ( Domain d ) : Domain

Cups the specified d.

Delete ( int elem ) : AllenDomain

Deletes the specified elem.

Delete ( int lo, int hi ) : AllenDomain

Deletes the specified lo.

Delete ( Object o ) : Domain

Deletes the specified o.

Difference ( Domain d ) : Domain

Differences the specified d.

Element ( ) : Object

Elements this instance.

Elements ( ) : IEnumerator

Elementses this instance.

Equals ( Domain d0 ) : bool

Equalses the specified d0.

IndexOf ( Object o ) : int

Indexes the of.

Insert ( Object o ) : Domain

Inserts the specified o.

Max ( ) : int

Maxes this instance.

Min ( ) : int

Mins this instance.

Remove ( Object o ) : void

Removes the specified o.

Remove ( int elem ) : void

Removes the specified elem.

ToString ( ) : String

Returns a System.String that represents this instance.

Value ( ) : int

Values this instance.

Private Methods

Method Description
IndexOf ( int elem ) : int

Indexes the of.

ToString ( int x ) : String

Returns a System.String that represents this instance.

UpdateMinMax ( ) : void

Updates the min max.

UpdateSize ( ) : void

Updates the size.

Method Details

AllenDomain() public method

Initializes a new instance of the AllenDomain class.
public AllenDomain ( ) : System
return System

AllenDomain() public method

AllenDomain Constructor with a starting time and latest time only The duration and step here are assumed 1
public AllenDomain ( int st, int lt ) : System
st int starting time
lt int latest time
return System

AllenDomain() public method

Initializes a new instance of the AllenDomain class.
public AllenDomain ( int st, int lt, int duration ) : System
st int The st.
lt int The lt.
duration int The duration.
return System

AllenDomain() public method

AllenDomain Constructor with a starting time, latest time, duration and a step
Maximum time must be greater than or equal minimum time!!!
public AllenDomain ( int st, int lt, int duration, int step ) : System
st int starting time
lt int latest time
duration int duration
step int step
return System

CONTAINS() public method

CONTAINSs the specified elem.
public CONTAINS ( int elem ) : bool
elem int The elem.
return bool

Cap() public method

Caps the specified d.
public Cap ( Domain d ) : Domain
d Domain The d.
return Domain

CapInterval() public method

Caps the interval.
public CapInterval ( int lo, int hi ) : AllenDomain
lo int The lo.
hi int The hi.
return AllenDomain

Clone() public method

Clones this instance.
public Clone ( ) : Object
return Object

Contains() public method

Determines whether [contains] [the specified o].
public Contains ( Object o ) : bool
o Object The o.
return bool

Cup() public method

Cups the specified d.
NotImplementedException.
public Cup ( Domain d ) : Domain
d Domain The d.
return Domain

Delete() public method

Deletes the specified elem.
public Delete ( int elem ) : AllenDomain
elem int The elem.
return AllenDomain

Delete() public method

Deletes the specified lo.
public Delete ( int lo, int hi ) : AllenDomain
lo int The lo.
hi int The hi.
return AllenDomain

Delete() public method

Deletes the specified o.
public Delete ( Object o ) : Domain
o Object The o.
return Domain

Difference() public method

Differences the specified d.
NotImplementedException.
public Difference ( Domain d ) : Domain
d Domain The d.
return Domain

Element() public method

Elements this instance.
public Element ( ) : Object
return Object

Elements() public method

Elementses this instance.
public Elements ( ) : IEnumerator
return IEnumerator

Equals() public method

Equalses the specified d0.
public Equals ( Domain d0 ) : bool
d0 Domain The d0.
return bool

IndexOf() public method

Indexes the of.
public IndexOf ( Object o ) : int
o Object The o.
return int

Insert() public method

Inserts the specified o.
NotImplementedException.
public Insert ( Object o ) : Domain
o Object The o.
return Domain

Max() public method

Maxes this instance.
is out of range.
public Max ( ) : int
return int

Min() public method

Mins this instance.
is out of range.
public Min ( ) : int
return int

Remove() public method

Removes the specified o.
public Remove ( Object o ) : void
o Object The o.
return void

Remove() public method

Removes the specified elem.
public Remove ( int elem ) : void
elem int The elem.
return void

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : String
return String

Value() public method

Values this instance.
is out of range.
public Value ( ) : int
return int

Property Details

EMPTY public static property

public static AllenDomain,Cream.AllenTemporal EMPTY
return AllenDomain

FULL public static property

public static AllenDomain,Cream.AllenTemporal FULL
return AllenDomain