Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Stack/IPushStack.cs @ 15287

Last change on this file since 15287 was 15189, checked in by pkimmesw, 8 years ago

#2665 Fixed small issues, testet benchmark suite, added INX Expressions

File size: 845 bytes
Line 
1namespace 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    new void Clear();
19    IReadOnlyList<T> Peek(int count);
20    void Insert(int index, T item);
21    T Pop();
22    IReadOnlyList<T> Pop(int count);
23    bool TryPop(out T item);
24    T ElementAt(int index);
25  }
26}
Note: See TracBrowser for help on using the repository browser.