Last change
on this file since 15945 was
15289,
checked in by pkimmesw, 7 years ago
|
#2665 Fixed analyzer, fixed Plush encoding + operators, adpated print evaluation according to McPhee
|
File size:
1.0 KB
|
Line | |
---|
1 | namespace HeuristicLab.Problems.ProgramSynthesis.Push.Stack {
|
---|
2 | using System.Collections.Generic;
|
---|
3 |
|
---|
4 | public interface IPushStack<T> : ICollection<T>, IPushStack {
|
---|
5 | T Top { get; set; }
|
---|
6 | T TopOrDefault { get; }
|
---|
7 | T Bottom { get; }
|
---|
8 | T BottomOrDefault { get; }
|
---|
9 | T this[int key] { get; set; }
|
---|
10 | new int Count { get; }
|
---|
11 | void Push(T item);
|
---|
12 | void Push(T item1, T item2);
|
---|
13 | void Push(T item1, T item2, T item3);
|
---|
14 | void Push(T item1, T item2, T item3, T item4);
|
---|
15 | void Push(IReadOnlyList<T> items, int startIndex);
|
---|
16 | void Push(IReadOnlyList<T> items);
|
---|
17 | void Push(IEnumerable<T> items);
|
---|
18 | void Swap(int count);
|
---|
19 | void Yank(int index);
|
---|
20 | void RemoveTop();
|
---|
21 | void Remove(int count);
|
---|
22 | void RemoveAt(int index);
|
---|
23 | void RemoveAt(int index, int count);
|
---|
24 | new void Clear();
|
---|
25 | IReadOnlyList<T> Peek(int count);
|
---|
26 | void Insert(int index, T item);
|
---|
27 | T Pop();
|
---|
28 | IReadOnlyList<T> Pop(int count);
|
---|
29 | bool TryPop(out T item);
|
---|
30 | T ElementAt(int index);
|
---|
31 | }
|
---|
32 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.