| Modifier and Type | Field and Description |
|---|---|
| private final @NotNull WeakHashMap | |
| private final @NotNull WeakHashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public < type of base character sequence T> @NotNull BasedSequence | Returns: existing equivalent base or newly created baseobject for the underlying based sequence base object, @Nullable int[] one element array for type of tests done to find result
NOTE: 0 if map lookup, 10 - set search, 20 - construct and add to map/set
with units digit giving max testEquals call type from all tests done callTypes, @NotNull Function<T, BasedSequence> factory to create based sequence from the object factory)Get an equivalent existing based sequence base or a new one created by passed factory Note should only be called by base sequence which are the base for their category: |
| baseMap | back to summary |
|---|---|
| private final @NotNull WeakHashMap<Object, WeakReference<BasedSequence>> baseMap
| |
| baseSet | back to summary |
|---|---|
| private final @NotNull WeakHashMap<BasedSequence, BaseSequenceEntry> baseSet
| |
| BaseSequenceManager | back to summary |
|---|---|
| public BaseSequenceManager() | |
| getBaseSequence | back to summary |
|---|---|
| public <T> @NotNull BasedSequence getBaseSequence(T object, @Nullable int[] callTypes, @NotNull Function<T, BasedSequence> factory) Get an equivalent existing based sequence base or a new one created by passed factory Note should only be called by base sequence which are the base for their category: all others should delegate to these sequences for creating the base
| |