FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
AlgorithmSamples/BinaryTreeCommon/ISortableTree.cs at master · grinka/AlgorithmSamples · GitHub
grinka
/
AlgorithmSamples
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
AlgorithmSamples
/
BinaryTreeCommon
/
ISortableTree.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (25 loc) · 965 Bytes
Breadcrumbs
AlgorithmSamples
/
BinaryTreeCommon
/
ISortableTree.cs
Copy path
File metadata and controls
27 lines (25 loc) · 965 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
namespace
AlgorithmSamples
.
BinaryTree
.
Common
{
public
interface
ISortableTree
<
T
>
{
/// <summary>
/// Gets the content of the tree in ascending order.
/// </summary>
T
[
]
SortedAscending
{
get
;
}
/// <summary>
/// Gets the content of the tree in descending order.
/// </summary>
T
[
]
SortedDescending
{
get
;
}
/// <summary>
/// Add the new value to the tree. If tree does not have any nodes,
/// the root node with given value is created.
/// </summary>
/// <param name="value">The object to be added to the tree.</param>
void
Insert
(
T
value
)
;
/// <summary>
/// Add the group of values value to the tree. If tree does not have any nodes,
/// the root node is created.
/// </summary>
/// <param name="values">The array of the objects to be added to the tree.</param>
void
Insert
(
T
[
]
values
)
;
}
}
Back
|
FazBrowse Home
|
New Git URL