type github.com/emirpasic/gods/lists/arraylist.List
40 uses
github.com/emirpasic/gods/lists/arraylist (current package)
arraylist.go#L21: var _ lists.List = (*List)(nil)
arraylist.go#L25: type List struct {
arraylist.go#L36: func New(values ...interface{}) *List {
arraylist.go#L37: list := &List{}
arraylist.go#L45: func (list *List) Add(values ...interface{}) {
arraylist.go#L55: func (list *List) Get(index int) (interface{}, bool) {
arraylist.go#L65: func (list *List) Remove(index int) {
arraylist.go#L82: func (list *List) Contains(values ...interface{}) bool {
arraylist.go#L100: func (list *List) Values() []interface{} {
arraylist.go#L107: func (list *List) IndexOf(value interface{}) int {
arraylist.go#L120: func (list *List) Empty() bool {
arraylist.go#L125: func (list *List) Size() int {
arraylist.go#L130: func (list *List) Clear() {
arraylist.go#L136: func (list *List) Sort(comparator utils.Comparator) {
arraylist.go#L144: func (list *List) Swap(i, j int) {
arraylist.go#L153: func (list *List) Insert(index int, values ...interface{}) {
arraylist.go#L173: func (list *List) Set(index int, value interface{}) {
arraylist.go#L187: func (list *List) String() string {
arraylist.go#L198: func (list *List) withinRange(index int) bool {
arraylist.go#L202: func (list *List) resize(cap int) {
arraylist.go#L209: func (list *List) growBy(n int) {
arraylist.go#L219: func (list *List) shrink() {
enumerable.go#L10: var _ containers.EnumerableWithIndex = (*List)(nil)
enumerable.go#L14: func (list *List) Each(f func(index int, value interface{})) {
enumerable.go#L23: func (list *List) Map(f func(index int, value interface{}) interface{}) *List {
enumerable.go#L24: newList := &List{}
enumerable.go#L33: func (list *List) Select(f func(index int, value interface{}) bool) *List {
enumerable.go#L34: newList := &List{}
enumerable.go#L46: func (list *List) Any(f func(index int, value interface{}) bool) bool {
enumerable.go#L58: func (list *List) All(f func(index int, value interface{}) bool) bool {
enumerable.go#L71: func (list *List) Find(f func(index int, value interface{}) bool) (int, interface{}) {
iterator.go#L15: list *List
iterator.go#L20: func (list *List) Iterator() Iterator {
serialization.go#L13: var _ containers.JSONSerializer = (*List)(nil)
serialization.go#L14: var _ containers.JSONDeserializer = (*List)(nil)
serialization.go#L18: func (list *List) ToJSON() ([]byte, error) {
serialization.go#L23: func (list *List) FromJSON(data []byte) error {
github.com/emirpasic/gods/trees/binaryheap
binaryheap.go#L28: list *arraylist.List
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |