| |
|
| java.lang.Object org.jicarilla.lang.SelectorSwitch
SelectorSwitch | public class SelectorSwitch implements Switch(Code) | | A class which supports rich multiway branching using
Selector Selectors . Note it supports duplicates, unlike most Maps,
and this leads to behaviour that might sometimes be a little unexpected. It
also means the use of
SelectorSwitch.entrySet() is a bad idea; you are better of
using the
SelectorSwitch.entryList() which will give you the duplicates as well,
have more natural behaviour, and has a much better performance.
author: Leo Simons version: $Id: SelectorSwitch.java,v 1.1 2004/03/23 13:37:58 lsimons Exp $ |
Inner Class :protected static class Entry implements Switch.Entry | |
Inner Class :protected class BackendSet extends AbstractSet | |
Inner Class :protected class BackendKeySet extends AbstractSet | |
Inner Class :protected class BackendSetIterator implements Iterator | |
Inner Class :protected class BackendKeySetIterator implements Iterator | |
Inner Class :protected class ValueCollectionIterator implements Iterator | |
SelectorSwitch | public SelectorSwitch()(Code) | | |
SelectorSwitch | public SelectorSwitch(List backend)(Code) | | |
SelectorSwitch | public SelectorSwitch(Map initialValues)(Code) | | |
clear | public void clear()(Code) | | |
containsValue | public boolean containsValue(Object value)(Code) | | |
entrySet | public Set entrySet()(Code) | | Warning: expensive operation! Use entryList() instead where possible.
|
hashCode | public int hashCode()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
|
|
|