Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractComparator ¶
type AbstractComparator struct{ Comparator }
func (AbstractComparator) Greater ¶
func (cmp AbstractComparator) Greater(value1 interface{}, value2 interface{}) bool
func (AbstractComparator) GreaterOrEqual ¶
func (cmp AbstractComparator) GreaterOrEqual(value1 interface{}, value2 interface{}) bool
func (AbstractComparator) LessOrEqual ¶
func (cmp AbstractComparator) LessOrEqual(value1 interface{}, value2 interface{}) bool
type Comparator ¶
type Comparator interface { Less(value1 interface{}, value2 interface{}) bool Greater(value1 interface{}, value2 interface{}) bool LessOrEqual(value1 interface{}, value2 interface{}) bool GreaterOrEqual(value1 interface{}, value2 interface{}) bool Equal(value1 interface{}, value2 interface{}) bool }
type Float32Comparator ¶
type Float32Comparator struct{ AbstractComparator }
func NewFloat32Comparator ¶
func NewFloat32Comparator() *Float32Comparator
func (Float32Comparator) Equal ¶
func (cmp Float32Comparator) Equal(value1 interface{}, value2 interface{}) bool
func (Float32Comparator) Less ¶
func (cmp Float32Comparator) Less(value1 interface{}, value2 interface{}) bool
type Float64Comparator ¶
type Float64Comparator struct{ AbstractComparator }
func NewFloat64Comparator ¶
func NewFloat64Comparator() *Float64Comparator
func (Float64Comparator) Equal ¶
func (cmp Float64Comparator) Equal(value1 interface{}, value2 interface{}) bool
func (Float64Comparator) Less ¶
func (cmp Float64Comparator) Less(value1 interface{}, value2 interface{}) bool
type IntComparator ¶
type IntComparator struct{ AbstractComparator }
func NewIntComparator ¶
func NewIntComparator() *IntComparator
func (IntComparator) Equal ¶
func (cmp IntComparator) Equal(value1 interface{}, value2 interface{}) bool
func (IntComparator) Less ¶
func (cmp IntComparator) Less(value1 interface{}, value2 interface{}) bool
type StringComparator ¶
type StringComparator struct{ AbstractComparator }
func NewStringComparator ¶
func NewStringComparator() *StringComparator
func (StringComparator) Equal ¶
func (cmp StringComparator) Equal(value1 interface{}, value2 interface{}) bool
func (StringComparator) Less ¶
func (cmp StringComparator) Less(value1 interface{}, value2 interface{}) bool
Click to show internal directories.
Click to hide internal directories.