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

public boolean contains(char ch)

isEmpty

public boolean isEmpty()

size

public int size()

iterator

public ISet_char.Iterator iterator()

clear

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


add

public boolean add(char ch)

remove

public boolean remove(char ch)

complement

public void complement()

addAll

public void addAll(java.lang.String chars)

addAll

public 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

public 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

public void retainAll(ISet_char set)

clone

public java.lang.Object clone()