C# Class CodeJam._2014.Round2.BuildingIndexes

Mostrar archivo Open project: eric7237cire/CodeJam

Public Properties

Property Type Description
X0 SortedSet
X1 SortedSet
Y0 SortedSet
Y1 SortedSet

Public Methods

Method Description
Add ( Building b ) : void
BuildingIndexes ( ) : System
GetViewFromX0 ( int lowerInc ) : SortedSet
GetViewFromX1 ( int lowerInc ) : SortedSet
GetViewFromY0 ( int lowerInc ) : SortedSet
GetViewFromY1 ( int lowerInc ) : SortedSet
GetViewUpToX0 ( int upperInc ) : SortedSet
GetViewUpToX1 ( int upperInc ) : SortedSet
GetViewUpToY0 ( int upperInc ) : SortedSet
GetViewUpToY1 ( int upperInc ) : SortedSet
Remove ( Building b ) : void

Method Details

Add() public method

public Add ( Building b ) : void
b Building
return void

BuildingIndexes() public method

public BuildingIndexes ( ) : System
return System

GetViewFromX0() public method

public GetViewFromX0 ( int lowerInc ) : SortedSet
lowerInc int
return SortedSet

GetViewFromX1() public method

public GetViewFromX1 ( int lowerInc ) : SortedSet
lowerInc int
return SortedSet

GetViewFromY0() public method

public GetViewFromY0 ( int lowerInc ) : SortedSet
lowerInc int
return SortedSet

GetViewFromY1() public method

public GetViewFromY1 ( int lowerInc ) : SortedSet
lowerInc int
return SortedSet

GetViewUpToX0() public method

public GetViewUpToX0 ( int upperInc ) : SortedSet
upperInc int
return SortedSet

GetViewUpToX1() public method

public GetViewUpToX1 ( int upperInc ) : SortedSet
upperInc int
return SortedSet

GetViewUpToY0() public method

public GetViewUpToY0 ( int upperInc ) : SortedSet
upperInc int
return SortedSet

GetViewUpToY1() public method

public GetViewUpToY1 ( int upperInc ) : SortedSet
upperInc int
return SortedSet

Remove() public method

public Remove ( Building b ) : void
b Building
return void

Property Details

X0 public_oe property

public SortedSet X0
return SortedSet

X1 public_oe property

public SortedSet X1
return SortedSet

Y0 public_oe property

public SortedSet Y0
return SortedSet

Y1 public_oe property

public SortedSet Y1
return SortedSet