| Package | Description |
|---|---|
| blogspot.software_and_algorithms.stern_library.data_structure |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ThriftyList.CircularListInternal<T>
A fixed capacity circular list.
|
protected static class |
ThriftyList.FixedListInternal<T>
A fixed capacity list.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,E extends ThriftyList.ListInternal<T>> |
ThriftyList.copyTo(E source,
E destination)
Helper function to copy all data from the source to the destination and
return the destination.
|
static <T,E extends ThriftyList.ListInternal<T>> |
ThriftyList.merge(E l1,
E l2,
E target)
Helper function to merge two
ThriftyList.ListInternal instances into the
target ThriftyList.ListInternal instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
ThriftyList.CircularListInternal.addAll(ThriftyList.ListInternal<T> source)
Add all elements of the specified source list to this list.
|
void |
ThriftyList.FixedListInternal.addAll(ThriftyList.ListInternal<T> source)
Add all elements of the specified source list to this list.
|
void |
ThriftyList.ListInternal.addAll(ThriftyList.ListInternal<T> source)
Add all elements of the specified source list to this list.
|
void |
ThriftyList.CircularListInternal.addSome(ThriftyList.ListInternal<T> source,
int index,
int count)
Add a number of elements from the specified source list, beginning
with the element at the specified index and ending once the specified
count of added elements has been reached, to this list.
|
void |
ThriftyList.FixedListInternal.addSome(ThriftyList.ListInternal<T> source,
int index,
int count)
Add a number of elements from the specified source list, beginning
with the element at the specified index and ending once the specified
count of added elements has been reached, to this list.
|
void |
ThriftyList.ListInternal.addSome(ThriftyList.ListInternal<T> source,
int index,
int count)
Add a number of elements from the specified source list, beginning
with the element at the specified index and ending once the specified
count of added elements has been reached, to this list.
|
static <T> void |
ThriftyList.split(ThriftyList.ListInternal<T> src,
ThriftyList.ListInternal<T> dst1,
ThriftyList.ListInternal<T> dst2,
boolean alignRight)
Helper function to split the data of the source list between two
destination lists.
|
static <T> void |
ThriftyList.split(ThriftyList.ListInternal<T> src,
ThriftyList.ListInternal<T> dst1,
ThriftyList.ListInternal<T> dst2,
boolean alignRight)
Helper function to split the data of the source list between two
destination lists.
|
static <T> void |
ThriftyList.split(ThriftyList.ListInternal<T> src,
ThriftyList.ListInternal<T> dst1,
ThriftyList.ListInternal<T> dst2,
boolean alignRight)
Helper function to split the data of the source list between two
destination lists.
|
Copyright © 1994–2024 Peter Murray-Rust. All rights reserved.