org.ojalgo.type
Class IndexSelector

java.lang.Object
  extended by org.ojalgo.type.IndexSelector

public final class IndexSelector
extends Object


Constructor Summary
IndexSelector(int aCount)
           
IndexSelector(int aCount, int[] someInitiallyIncludedIndeces)
           
 
Method Summary
 int countExcluded()
           
 int countIncluded()
           
 void exclude(int anIndexToExclude)
           
 void exclude(int[] someIndecesToExclude)
           
 void excludeAll()
           
 int[] getExcluded()
           
 int getExcludedLength()
          Deprecated. v28 Use countExcluded() instead
 int[] getIncluded()
           
 int getIncludedLength()
          Deprecated. v28 Use countIncluded() instead
 int getLastExcluded()
           
 int getLastIncluded()
           
 void grow()
           
 void include(int anIndexToInclude)
           
 void include(int[] someIndecesToInclude)
           
 void includeAll()
           
 void shrink()
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexSelector

public IndexSelector(int aCount)

IndexSelector

public IndexSelector(int aCount,
                     int[] someInitiallyIncludedIndeces)
Method Detail

countExcluded

public int countExcluded()

countIncluded

public int countIncluded()

exclude

public void exclude(int anIndexToExclude)

exclude

public void exclude(int[] someIndecesToExclude)

excludeAll

public void excludeAll()

getExcluded

public int[] getExcluded()

getExcludedLength

@Deprecated
public int getExcludedLength()
Deprecated. v28 Use countExcluded() instead


getIncluded

public int[] getIncluded()

getIncludedLength

@Deprecated
public int getIncludedLength()
Deprecated. v28 Use countIncluded() instead


getLastExcluded

public int getLastExcluded()

getLastIncluded

public int getLastIncluded()

grow

public void grow()

include

public void include(int anIndexToInclude)

include

public void include(int[] someIndecesToInclude)

includeAll

public void includeAll()

shrink

public void shrink()

size

public int size()

toString

public String toString()
Overrides:
toString in class Object