com.karneim.util.collection.set
Interface ISet_char

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Implementing Classes:
CharSet

public interface ISet_char
extends java.io.Serializable, java.lang.Cloneable


Nested Class Summary
static interface ISet_char.Iterator
           
 
Method Summary
 boolean add(char ch)
           
 void addAll(ISet_char set)
          adds all chars from set to this ISet_char without adding doublicates.
 void addAll(java.lang.String chars)
           
 void clear()
          return this.removeAll(set).
 java.lang.Object clone()
           
 void complement()
           
 boolean contains(char ch)
           
 boolean isEmpty()
           
 ISet_char.Iterator iterator()
           
 boolean remove(char ch)
           
 void removeAll(ISet_char set)
          Removes from this set all of its elements that are contained in the specified set (optional operation).
 void retainAll(ISet_char set)
           
 int size()
           
 

Method Detail

contains

boolean contains(char ch)

isEmpty

boolean isEmpty()

size

int size()

iterator

ISet_char.Iterator iterator()

clear

void clear()
return this.removeAll(set). return C = A \ B = this \ set


add

boolean add(char ch)

remove

boolean remove(char ch)

complement

void complement()

addAll

void addAll(java.lang.String chars)

addAll

void addAll(ISet_char set)
adds all chars from set to this ISet_char without adding doublicates. returns the number of chars added to this ISet_char.


removeAll

void removeAll(ISet_char set)
Removes from this set all of its elements that are contained in the specified set (optional operation). returns the number of chars that were removed.


retainAll

void retainAll(ISet_char set)

clone

java.lang.Object clone()