com.phasmidsoftware.gryphon.util
Members list
Type members
Classlikes
General functional programming utilities.
General functional programming utilities.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FP.type
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
A custom exception class for handling errors specifically related to graph operations.
A custom exception class for handling errors specifically related to graph operations.
Value parameters
- m
-
The detail message associated with the exception, providing context or information about the graph-related error that occurred.
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Trait to define a type class which supports the zero (identity) method.
Trait to define a type class which supports the zero (identity) method.
It's rather disappointing that Scala doesn't define this. I suppose we could get it from Cats but that seems like overkill.
Type parameters
- T
-
the type of this trait.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait HasZeroBooleanobject HasZeroBooleantrait HasZeroDoubleobject HasZeroDoubletrait HasZeroIntobject HasZeroInttrait HasZeroUnitobject HasZeroUnitShow all
Type parameters
- X
-
the underlying type.
Value parameters
- f
-
the logging function.
- xs
-
the incoming Iterator.
Attributes
- Supertypes
-
trait Iterator[X]trait IterableOnceOps[X, Iterator, Iterator[X]]trait IterableOnce[X]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ParseableBooleanobject ParseableBooleantrait ParseableDoubleobject ParseableDoubletrait ParseableIntobject ParseableInttrait ParseableStringobject ParseableStringtrait ParseableUnitobject ParseableUnitShow all
A class providing an iterator that iterates through elements of a collection in a random order.
A class providing an iterator that iterates through elements of a collection in a random order.
This iterator removes elements from the underlying collection as it iterates over them. The randomness in the iteration order is determined by the implicit Random instance provided.
Type parameters
- T
-
the type of elements contained in the iterator.
Value parameters
- iterable
-
the collection of elements to be iterated in random order.
- random
-
an implicit
Randominstance used for randomization.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Iterator[T]trait IterableOnceOps[T, Iterator, Iterator[T]]trait IterableOnce[T]class Objecttrait Matchableclass AnyShow all
An object providing utility methods for creating and working with RandomIterator.
An object providing utility methods for creating and working with RandomIterator.
The RandomIterator is used to iterate over a collection of elements in a random order.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RandomIterator.type
Attributes
- Supertypes
-
trait JavaTokenParserstrait RegexParserstrait Parsersclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
Utility object to provide resource management methods using the Using construct.
Utility object to provide resource management methods using the Using construct.
The methods in this object ensure proper handling of resources by automatically closing or releasing them after they are used within a defined context.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TryUsing.type
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ViewableIterator.type
A wrapper class around a sequence that provides an iterator whose elements can be viewed in the debugger.
A wrapper class around a sequence that provides an iterator whose elements can be viewed in the debugger.
Type parameters
- X
-
the type of elements this iterator will traverse.
Value parameters
- xs
-
the sequence of elements to be traversed by the iterator.
Attributes
- Constructor
-
Initializes the iterator with the given sequence.
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Iterator[X]trait IterableOnceOps[X, Iterator, Iterator[X]]trait IterableOnce[X]class Objecttrait Matchableclass AnyShow all