@Test public void testGetSegment() { try { SegmentedAddress addr = (SegmentedAddress) space.getAddress("123:1000"); Assert.assertEquals(0x123, addr.getSegment()); } catch (AddressFormatException e) { } }
public int getSegment() { return segment; }
SegmentedAddress extends GenericAddress { public int getSegment() { return segment; } }
SegmentedAddress extends GenericAddress { public int getSegment() { return segment; } SegmentedAddress(long offset, SegmentedAddressSpace addrSpace);   SegmentedAddress(SegmentedAddressSpace addrSpace, int segment, int segmentOffset);   SegmentedAddress(SegmentedAddressSpace addrSpace, long offset); }
SegmentedAddress extends GenericAddress { public int getSegment() { return segment; } SegmentedAddress(long offset, SegmentedAddressSpace addrSpace);   SegmentedAddress(SegmentedAddressSpace addrSpace, int segment, int segmentOffset);   SegmentedAddress(SegmentedAddressSpace addrSpace, long offset); int getSegment(); int getSegmentOffset(); SegmentedAddress normalize(int seg); @Override Address getNewAddress(long byteOffset); @Override Address getNewAddress(long addrOffset, boolean isAddressableWordOffset); @Override Address getNewTruncatedAddress(long addrOffset, boolean isAddressableWordOffset); @Override String toString(String prefix); @Override Address getPhysicalAddress(); @Override String toString(boolean showAddressSpace, int minNumDigits); }
SegmentedAddress extends GenericAddress { public int getSegment() { return segment; } SegmentedAddress(long offset, SegmentedAddressSpace addrSpace);   SegmentedAddress(SegmentedAddressSpace addrSpace, int segment, int segmentOffset);   SegmentedAddress(SegmentedAddressSpace addrSpace, long offset); int getSegment(); int getSegmentOffset(); SegmentedAddress normalize(int seg); @Override Address getNewAddress(long byteOffset); @Override Address getNewAddress(long addrOffset, boolean isAddressableWordOffset); @Override Address getNewTruncatedAddress(long addrOffset, boolean isAddressableWordOffset); @Override String toString(String prefix); @Override Address getPhysicalAddress(); @Override String toString(boolean showAddressSpace, int minNumDigits); static final int OFFSET_SIZE; static final int SEGMENT_SIZE; }