samples.multicostregular.asap.data.base
Class ASAPShiftGroup

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<ASAPShift>
          extended by samples.multicostregular.asap.data.base.ASAPShiftGroup
All Implemented Interfaces:
Iterable<ASAPShift>, Collection<ASAPShift>, List<ASAPShift>, ASAPPatternElement

public class ASAPShiftGroup
extends AbstractList<ASAPShift>
implements ASAPPatternElement

Created by IntelliJ IDEA. User: julien Mail: julien.menana{at}emn.fr Date: Dec 16, 2008 Time: 3:23:02 PM


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ASAPShiftGroup(ASAPItemHandler handler, String id)
           
ASAPShiftGroup(ASAPItemHandler handler, String id, ASAPShift... shift)
           
ASAPShiftGroup(ASAPItemHandler handler, String id, String... sids)
           
 
Method Summary
 boolean add(ASAPShift s)
           
 ASAPShift get(int i)
           
 int[] getElementValues()
           
 String getId()
           
 void init(String id, ASAPItemHandler handler)
           
 boolean isInPattern(ASAPShift s)
           
 Iterator<ASAPShift> iterator()
           
 int size()
           
 String toRegExp()
           
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

ASAPShiftGroup

public ASAPShiftGroup(ASAPItemHandler handler,
                      String id,
                      ASAPShift... shift)

ASAPShiftGroup

public ASAPShiftGroup(ASAPItemHandler handler,
                      String id,
                      String... sids)

ASAPShiftGroup

public ASAPShiftGroup(ASAPItemHandler handler,
                      String id)
Method Detail

init

public void init(String id,
                 ASAPItemHandler handler)

add

public boolean add(ASAPShift s)
Specified by:
add in interface Collection<ASAPShift>
Specified by:
add in interface List<ASAPShift>
Overrides:
add in class AbstractList<ASAPShift>

getId

public String getId()

get

public ASAPShift get(int i)
Specified by:
get in interface List<ASAPShift>
Specified by:
get in class AbstractList<ASAPShift>

iterator

public Iterator<ASAPShift> iterator()
Specified by:
iterator in interface Iterable<ASAPShift>
Specified by:
iterator in interface Collection<ASAPShift>
Specified by:
iterator in interface List<ASAPShift>
Overrides:
iterator in class AbstractList<ASAPShift>

size

public int size()
Specified by:
size in interface Collection<ASAPShift>
Specified by:
size in interface List<ASAPShift>
Specified by:
size in class AbstractCollection<ASAPShift>

isInPattern

public boolean isInPattern(ASAPShift s)
Specified by:
isInPattern in interface ASAPPatternElement

toRegExp

public String toRegExp()
Specified by:
toRegExp in interface ASAPPatternElement

getElementValues

public int[] getElementValues()
Specified by:
getElementValues in interface ASAPPatternElement


Copyright © 2012. All Rights Reserved.