org.eclipse.jdt.internal.compiler.util
Class SimpleSetOfCharArray
java.lang.Object
org.eclipse.jdt.internal.compiler.util.SimpleSetOfCharArray
- All Implemented Interfaces:
- Cloneable
public final class SimpleSetOfCharArray
- extends Object
- implements Cloneable
A simple lookup table is a non-synchronized Hashtable, whose keys
and values are char[]. It also uses linear probing to resolve collisions
rather than a linked list of hash table entries.
values
public char[][] values
elementSize
public int elementSize
threshold
public int threshold
SimpleSetOfCharArray
public SimpleSetOfCharArray()
SimpleSetOfCharArray
public SimpleSetOfCharArray(int size)
add
public Object add(char[] object)
asArray
public void asArray(Object[] copy)
clear
public void clear()
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Object
- Throws:
CloneNotSupportedException
get
public char[] get(char[] object)
includes
public boolean includes(char[] object)
remove
public char[] remove(char[] object)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.