# Class: com.pnfsoftware.jeb.util.collect.LongSegment

Standard implementation of a segment using an `long` treated as a signed value. Immutable.

## Constructor: LongSegment
- parameter: `address`, type: `long`
- parameter: `size`, type: `long`

Description: Create a long segment.
parameter: address: begin address
parameter: size: segment size

## Method: compareTo
- parameter: `second`, type: `com.pnfsoftware.jeb.util.collect.LongSegment`
- return type: `int`


## Method: getBegin
- return type: `java.lang.Long`


## Method: getEnd
- return type: `java.lang.Long`


## Method: getSize
- return type: `long`

Description: 
return: segment size

## Method: toString
- return type: `java.lang.String`


## Static Method: merge
- parameter: `minmax`, type: `com.pnfsoftware.jeb.util.base.Couple<java.lang.Long,java.lang.Long>`
- parameter: `list`, type: `java.util.List<com.pnfsoftware.jeb.util.collect.LongSegment>`
- return type: `com.pnfsoftware.jeb.util.collect.LongSegment`

Description: Merge segments into a segment spanning the provided bounds.
parameter: minmax: begin and end bounds
parameter: list: segments being merged
return: merged segment

