jetbrains.buildServer.util.positioning
Class PositionAwareSortedCollection<T>

java.lang.Object
  extended by jetbrains.buildServer.util.positioning.PositionAwareSortedCollection<T>

public class PositionAwareSortedCollection<T>
extends java.lang.Object

Author:
Eugene Petrenko (eugene.petrenko@gmail.com) Date: 09.09.11 19:35

Constructor Summary
PositionAwareSortedCollection()
           
 
Method Summary
 void add(T item, java.lang.String id, PositionConstraint constraint)
           
 void clear()
           
 java.util.List<T> getSorted()
           
 boolean isEmpty()
           
 boolean removeWhere(Filter<T> filter)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PositionAwareSortedCollection

public PositionAwareSortedCollection()
Method Detail

add

public void add(@NotNull
                T item,
                @NotNull
                java.lang.String id,
                @NotNull
                PositionConstraint constraint)

removeWhere

public boolean removeWhere(@NotNull
                           Filter<T> filter)

isEmpty

public boolean isEmpty()

size

public int size()

clear

public void clear()

getSorted

@NotNull
public java.util.List<T> getSorted()