src/main/java/com/esri/core/geometry/GeneralizeComparator.java
EditShapeTriangle tryGetCachedTriangle_(int value) {
        int ind = (value & NumberUtils.intMax()) % m_triangle_nodes_cache.size();
        EditShapeTriangle triangle = m_triangle_nodes_cache.get(ind);
        if (triangle != null) {
            if (triangle.m_vertexIndex == value)
                return triangle;
            else {
                // int i = 0;
                // cache collision
            }
        }
        return null;
    }
// Returns a cached edge for the given value. May return NULL.
Returns a cached edge for the given value. May return NULL.
Returns a cached edge for the given value . May return NULL .
EditShapeTriangle tryGetCachedTriangle_(int value) {
        int ind = (value & NumberUtils.intMax()) % m_triangle_nodes_cache.size();
        EditShapeTriangle triangle = m_triangle_nodes_cache.get(ind);
        if (triangle != null) {
            if (triangle.m_vertexIndex == value)
                return triangle;
            else {
            }
        }
        return null;
    }
EditShapeTriangle tryGetCachedTriangle_ ( int value ) { int ind = ( value & NumberUtils . intMax ( ) ) % m_triangle_nodes_cache . size ( ) ; EditShapeTriangle triangle = m_triangle_nodes_cache . get ( ind ) ; if ( triangle != null ) { if ( triangle . m_vertexIndex == value ) return triangle ; else { } } return null ; }
Returns a cached edge for the given value.
Returns a cached edge for the given value .
// int i = 0; // cache collision