Granularity

遗产: java.lang.Object

public class Granularity

指定比较两个文档时要跟踪的更改粒度。

字段

场地描述
CHAR_LEVEL
WORD_LEVEL
length

方法

方法描述
equals(Object arg0)
fromName(String granularityName)
getClass()
getName(int granularity)
getValues()
hashCode()
notify()
notifyAll()
toString()
toString(int granularity)
wait()
wait(long arg0)
wait(long arg0, int arg1)

CHAR_LEVEL

public static int CHAR_LEVEL

WORD_LEVEL

public static int WORD_LEVEL

length

public static int length

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

fromName(String granularityName)

public static int fromName(String granularityName)

参数:

范围类型描述
granularityNamejava.lang.String

退货: 整数

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getName(int granularity)

public static String getName(int granularity)

参数:

范围类型描述
granularityint

退货: java.lang.字符串

getValues()

public static int[] getValues()

退货: 整数[]

hashCode()

public native int hashCode()

退货: 整数

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

退货: java.lang.字符串

toString(int granularity)

public static String toString(int granularity)

参数:

范围类型描述
granularityint

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int