| Package | Description |
|---|---|
| craterdog.collections |
| Modifier and Type | Method and Description |
|---|---|
Bag<E> |
Bag.copy() |
static <E> Bag<E> |
Bag.difference(Bag<E> bag1,
Bag<E> bag2)
This function returns a new bag that contains the elements that are
in the first bag but not contained in the second bag specified.
|
static <E> Bag<E> |
Bag.merge(Bag<E> bag1,
Bag<E> bag2)
This function returns a new bag that contains the all the elements from
both the specified bags.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> Bag<E> |
Bag.difference(Bag<E> bag1,
Bag<E> bag2)
This function returns a new bag that contains the elements that are
in the first bag but not contained in the second bag specified.
|
static <E> Bag<E> |
Bag.difference(Bag<E> bag1,
Bag<E> bag2)
This function returns a new bag that contains the elements that are
in the first bag but not contained in the second bag specified.
|
static <E> Bag<E> |
Bag.merge(Bag<E> bag1,
Bag<E> bag2)
This function returns a new bag that contains the all the elements from
both the specified bags.
|
static <E> Bag<E> |
Bag.merge(Bag<E> bag1,
Bag<E> bag2)
This function returns a new bag that contains the all the elements from
both the specified bags.
|
Copyright © 2015 Crater Dog Technologies(TM). All rights reserved.