public abstract class AbstractShortIterable extends Object implements ShortIterable
| Constructor and Description | 
|---|
| AbstractShortIterable() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | appendString(Appendable appendable)Prints a string representation of this collection onto the given  Appendable. | 
| void | appendString(Appendable appendable,
            String separator)Prints a string representation of this collection onto the given  Appendable. | 
| LazyShortIterable | asLazy() | 
| double | average() | 
| boolean | containsAll(short... source) | 
| boolean | containsAll(ShortIterable source) | 
| boolean | isEmpty()Returns true if this iterable has zero items. | 
| String | makeString()Returns a string representation of this collection by delegating to  PrimitiveIterable.makeString(String)and defaulting
 the separator parameter to the characters ", " (comma and space). | 
| String | makeString(String separator)Returns a string representation of this collection by delegating to  PrimitiveIterable.makeString(String, String, String)and defaulting the start and end parameters to "" (the empty String). | 
| String | makeString(String start,
          String separator,
          String end)Returns a string representation of this collection. | 
| short | maxIfEmpty(short defaultValue) | 
| double | median() | 
| short | minIfEmpty(short defaultValue) | 
| boolean | notEmpty()The English equivalent of !this.isEmpty() | 
| MutableShortBag | toBag() | 
| MutableShortList | toList() | 
| MutableShortSet | toSet() | 
| short[] | toSortedArray() | 
| MutableShortList | toSortedList() | 
| String | toString()Returns a string representation of this PrimitiveIterable. | 
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitallSatisfy, anySatisfy, collect, contains, count, detectIfNone, each, forEach, injectInto, max, min, noneSatisfy, reject, select, shortIterator, sum, toArrayappendString, sizepublic String toString()
PrimitiveIterabletoString in interface PrimitiveIterabletoString in class Objectpublic String makeString()
PrimitiveIterablePrimitiveIterable.makeString(String) and defaulting
 the separator parameter to the characters ", " (comma and space).makeString in interface PrimitiveIterablepublic String makeString(String separator)
PrimitiveIterablePrimitiveIterable.makeString(String, String, String)
 and defaulting the start and end parameters to "" (the empty String).makeString in interface PrimitiveIterablepublic String makeString(String start, String separator, String end)
PrimitiveIterablemakeString in interface PrimitiveIterablepublic void appendString(Appendable appendable)
PrimitiveIterableAppendable.  Prints the string returned
 by PrimitiveIterable.makeString().appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
PrimitiveIterableAppendable.  Prints the string returned
 by PrimitiveIterable.makeString(String).appendString in interface PrimitiveIterablepublic short minIfEmpty(short defaultValue)
minIfEmpty in interface ShortIterablepublic short maxIfEmpty(short defaultValue)
maxIfEmpty in interface ShortIterablepublic double average()
average in interface ShortIterablepublic double median()
median in interface ShortIterablepublic short[] toSortedArray()
toSortedArray in interface ShortIterablepublic MutableShortList toSortedList()
toSortedList in interface ShortIterablepublic LazyShortIterable asLazy()
asLazy in interface ShortIterablepublic MutableShortList toList()
toList in interface ShortIterablepublic MutableShortSet toSet()
toSet in interface ShortIterablepublic MutableShortBag toBag()
toBag in interface ShortIterablepublic boolean containsAll(short... source)
containsAll in interface ShortIterablepublic boolean containsAll(ShortIterable source)
containsAll in interface ShortIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterableCopyright © 2004–2016. All rights reserved.