Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@
package com.esri.core.geometry;

import com.esri.core.geometry.VertexDescription.Persistence;

import java.io.Serializable;
import java.nio.ByteBuffer;

/**
* Base class for AttributeStream instances.
*/
abstract class AttributeStreamBase {
abstract class AttributeStreamBase implements Serializable {
private static final long serialVersionUID = 1L;

protected boolean m_bLockedInSize;
protected boolean m_bReadonly;
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/com/esri/core/geometry/QuadTree.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@

package com.esri.core.geometry;

public class QuadTree {
import java.io.Serializable;

public class QuadTree implements Serializable {
private static final long serialVersionUID = 1L;

public static final class QuadTreeIterator {
/**
* Resets the iterator to an starting state on the QuadTree. If the
Expand Down
9 changes: 7 additions & 2 deletions src/main/java/com/esri/core/geometry/QuadTreeImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@
*/
package com.esri.core.geometry;

import java.io.Serializable;
import java.util.ArrayList;

class QuadTreeImpl {
class QuadTreeImpl implements Serializable {
private static final long serialVersionUID = 1L;

static final class QuadTreeIteratorImpl {
/**
* Resets the iterator to an starting state on the Quad_tree_impl. If
Expand Down Expand Up @@ -1258,7 +1261,9 @@ private void set_data_values_(int data_handle, int element, Envelope2D bounding_
private int m_height_bit_shift = 2;
private int m_flushing_count = 5;

static final class Data {
static final class Data implements Serializable {
private static final long serialVersionUID = 1L;

int element;
Envelope2D box;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@
*/
package com.esri.core.geometry;

import java.io.Serializable;

/**
* A collection of strides of Index_type elements. To be used when one needs a
* collection of homogeneous elements that contain only integer fields (i.e.
* structs with Index_type members) Recycles the strides. Allows for constant
* time creation and deletion of an element.
*/
final class StridedIndexTypeCollection {
final class StridedIndexTypeCollection implements Serializable {
private static final long serialVersionUID = 1L;

private int[][] m_buffer = null;
private int m_firstFree = -1;
private int m_last = 0;
Expand Down