Java Reference

Java Reference

AssignmentIntContainer

Detailed Description

Definition at line 11 of file AssignmentIntContainer.java.

Public Member Functions

synchronized void delete ()
 
 AssignmentIntContainer ()
 
IntVarElement add (IntVar var)
 
IntVarElement fastAdd (IntVar var)
 Adds element without checking its presence in the container. More...
 
IntVarElement addAtPosition (IntVar var, int position)
 Advanced usage: Adds element at a given position; position has to have been allocated with AssignmentContainer::Resize() beforehand. More...
 
void clear ()
 
void resize (long size)
 Advanced usage: Resizes the container, potentially adding elements with null variables. More...
 
boolean empty ()
 
void copyIntersection (AssignmentIntContainer container)
 Copies the elements of 'container' which are already in the calling container. More...
 
void copy (AssignmentIntContainer container)
 Copies all the elements of 'container' to this container, clearing its previous content. More...
 
boolean contains (IntVar var)
 
IntVarElement mutableElement (IntVar var)
 
IntVarElement element (IntVar var)
 
IntVarElement mutableElement (int index)
 
IntVarElement element (int index)
 
int size ()
 
void store ()
 
void restore ()
 
boolean AreAllElementsBound ()
 

Protected Member Functions

 AssignmentIntContainer (long cPtr, boolean cMemoryOwn)
 

Constructor & Destructor Documentation

◆ AssignmentIntContainer() [1/2]

AssignmentIntContainer ( long  cPtr,
boolean  cMemoryOwn 
)
inlineprotected

Definition at line 15 of file AssignmentIntContainer.java.

◆ AssignmentIntContainer() [2/2]

Definition at line 39 of file AssignmentIntContainer.java.

Member Function Documentation

◆ add()

IntVarElement add ( IntVar  var)
inline

Definition at line 43 of file AssignmentIntContainer.java.

◆ addAtPosition()

IntVarElement addAtPosition ( IntVar  var,
int  position 
)
inline

Advanced usage: Adds element at a given position; position has to have been allocated with AssignmentContainer::Resize() beforehand.

Definition at line 59 of file AssignmentIntContainer.java.

◆ AreAllElementsBound()

boolean AreAllElementsBound ( )
inline

Definition at line 127 of file AssignmentIntContainer.java.

◆ clear()

void clear ( )
inline

Definition at line 64 of file AssignmentIntContainer.java.

◆ contains()

boolean contains ( IntVar  var)
inline

Definition at line 93 of file AssignmentIntContainer.java.

◆ copy()

void copy ( AssignmentIntContainer  container)
inline

Copies all the elements of 'container' to this container, clearing its previous content.

Definition at line 89 of file AssignmentIntContainer.java.

◆ copyIntersection()

void copyIntersection ( AssignmentIntContainer  container)
inline

Copies the elements of 'container' which are already in the calling container.

Definition at line 82 of file AssignmentIntContainer.java.

◆ delete()

synchronized void delete ( )
inline

Definition at line 29 of file AssignmentIntContainer.java.

◆ element() [1/2]

IntVarElement element ( int  index)
inline

Definition at line 111 of file AssignmentIntContainer.java.

◆ element() [2/2]

IntVarElement element ( IntVar  var)
inline

Definition at line 102 of file AssignmentIntContainer.java.

◆ empty()

boolean empty ( )
inline

Definition at line 75 of file AssignmentIntContainer.java.

◆ fastAdd()

IntVarElement fastAdd ( IntVar  var)
inline

Adds element without checking its presence in the container.

Definition at line 51 of file AssignmentIntContainer.java.

◆ mutableElement() [1/2]

IntVarElement mutableElement ( int  index)
inline

Definition at line 106 of file AssignmentIntContainer.java.

◆ mutableElement() [2/2]

IntVarElement mutableElement ( IntVar  var)
inline

Definition at line 97 of file AssignmentIntContainer.java.

◆ resize()

void resize ( long  size)
inline

Advanced usage: Resizes the container, potentially adding elements with null variables.

Definition at line 71 of file AssignmentIntContainer.java.

◆ restore()

void restore ( )
inline

Definition at line 123 of file AssignmentIntContainer.java.

◆ size()

int size ( )
inline

Definition at line 115 of file AssignmentIntContainer.java.

◆ store()

void store ( )
inline

Definition at line 119 of file AssignmentIntContainer.java.


The documentation for this class was generated from the following file: