public interface CodeHolder
extends java.io.Serializable, java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
CodeHolder |
clone() |
boolean |
contains(CodeToReturn code)
Contains.
|
void |
difference(CodeHolder otherCodes)
Difference.
|
java.util.List<CodeToReturn> |
getAllCodes()
Gets the all codes.
|
int |
getNumberOfCodes()
Gets the number of codes.
|
void |
intersect(CodeHolder otherCodes)
Intersect.
|
void |
remove(CodeToReturn code)
Removes the.
|
void |
union(CodeHolder otherCodes)
Union.
|
void difference(CodeHolder otherCodes)
otherCodes
- the other codesvoid union(CodeHolder otherCodes)
otherCodes
- the other codesvoid intersect(CodeHolder otherCodes)
otherCodes
- the other codesboolean contains(CodeToReturn code)
code
- the codejava.util.List<CodeToReturn> getAllCodes()
void remove(CodeToReturn code)
code
- the codeint getNumberOfCodes()
CodeHolder clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException