mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
saving indices in AppCode
This commit is contained in:
@@ -18,7 +18,9 @@ package com.intellij.openapi.util;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class TextRange implements Segment{
|
||||
import java.io.Serializable;
|
||||
|
||||
public class TextRange implements Segment, Serializable {
|
||||
public static final TextRange EMPTY_RANGE = new TextRange(0,0);
|
||||
private final int myStartOffset;
|
||||
private final int myEndOffset;
|
||||
|
||||
@@ -23,12 +23,13 @@ import com.intellij.util.Processor;
|
||||
import gnu.trove.THashMap;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
public class MostlySingularMultiMap<K, V> {
|
||||
public class MostlySingularMultiMap<K, V> implements Serializable {
|
||||
private final Map<K, Object> myMap = new THashMap<K, Object>();
|
||||
|
||||
public void add(K key, V value) {
|
||||
|
||||
Reference in New Issue
Block a user