Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection interface { Add(item interface{}) Get(index int) interface{} }
type CollectionImpl ¶
type CollectionImpl struct {
// contains filtered or unexported fields
}
func (*CollectionImpl) Add ¶
func (c *CollectionImpl) Add(item interface{})
func (*CollectionImpl) Get ¶
func (c *CollectionImpl) Get(index int) interface{}
type CollectionImplV2 ¶
type CollectionImplV2 struct {
ReadOnlyCollectionV2
}
func (*CollectionImplV2) Add ¶
func (c *CollectionImplV2) Add(item interface{})
type ImmutableCollection ¶
type ImmutableCollection interface {
Get(index int) interface{}
}
type MutableCollection ¶
type MutableCollection interface { ImmutableCollection Add(item interface{}) }
type ReadOnlyCollection ¶
type ReadOnlyCollection struct {
CollectionImpl
}
func (*ReadOnlyCollection) Add ¶
func (ro *ReadOnlyCollection) Add(item interface{})
type ReadOnlyCollectionV2 ¶
type ReadOnlyCollectionV2 struct {
// contains filtered or unexported fields
}
func (*ReadOnlyCollectionV2) Get ¶
func (ro *ReadOnlyCollectionV2) Get(index int) interface{}
Click to show internal directories.
Click to hide internal directories.