congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
NativeBreakIterator
Code IndexAdd Tabnine to your IDE (free)

How to use
NativeBreakIterator
in
libcore.icu

Best Java code snippets using libcore.icu.NativeBreakIterator (Showing top 20 results out of 315)

origin: robovm/robovm

@Override
public Object clone() {
  long cloneAddr = cloneImpl(this.address);
  NativeBreakIterator clone = new NativeBreakIterator(cloneAddr, this.type);
  clone.string = this.string;
  // The RI doesn't clone the CharacterIterator.
  clone.charIterator = this.charIterator;
  return clone;
}
origin: robovm/robovm

  /**
   * Returns a copy of this iterator.
   */
  @Override
  public Object clone() {
    try {
      BreakIterator cloned = (BreakIterator) super.clone();
      cloned.wrapped = (NativeBreakIterator) wrapped.clone();
      return cloned;
    } catch (CloneNotSupportedException e) {
      throw new AssertionError(e);
    }
  }
}
origin: robovm/robovm

@Override protected void finalize() throws Throwable {
  try {
    closeImpl(this.address);
  } finally {
    super.finalize();
  }
}
origin: robovm/robovm

public static NativeBreakIterator getCharacterInstance(Locale where) {
  return new NativeBreakIterator(getCharacterInstanceImpl(where.toString()), BI_CHAR_INSTANCE);
}
origin: robovm/robovm

public static NativeBreakIterator getSentenceInstance(Locale where) {
  return new NativeBreakIterator(getSentenceInstanceImpl(where.toString()), BI_SENT_INSTANCE);
}
origin: robovm/robovm

public static NativeBreakIterator getWordInstance(Locale where) {
  return new NativeBreakIterator(getWordInstanceImpl(where.toString()), BI_WORD_INSTANCE);
}
origin: robovm/robovm

public static NativeBreakIterator getLineInstance(Locale where) {
  return new NativeBreakIterator(getLineInstanceImpl(where.toString()), BI_LINE_INSTANCE);
}
origin: robovm/robovm

public int current() {
  return currentImpl(this.address, this.string);
}
origin: robovm/robovm

@Override public boolean equals(Object o) {
  if (!(o instanceof RuleBasedBreakIterator)) {
    return false;
  }
  return wrapped.equals(((RuleBasedBreakIterator) o).wrapped);
}
origin: robovm/robovm

@Override public int following(int offset) {
  checkOffset(offset);
  return wrapped.following(offset);
}
origin: robovm/robovm

@Override public int current() {
  return wrapped.current();
}
origin: robovm/robovm

public int first() {
  return firstImpl(this.address, this.string);
}
origin: robovm/robovm

@Override public int first() {
  return wrapped.first();
}
origin: MobiVM/robovm

public static NativeBreakIterator getWordInstance(Locale where) {
  return new NativeBreakIterator(getWordInstanceImpl(where.toString()), BI_WORD_INSTANCE);
}
origin: MobiVM/robovm

public static NativeBreakIterator getCharacterInstance(Locale where) {
  return new NativeBreakIterator(getCharacterInstanceImpl(where.toString()), BI_CHAR_INSTANCE);
}
origin: ibinti/bugvm

public static NativeBreakIterator getSentenceInstance(Locale where) {
  return new NativeBreakIterator(getSentenceInstanceImpl(where.toString()), BI_SENT_INSTANCE);
}
origin: MobiVM/robovm

public static NativeBreakIterator getLineInstance(Locale where) {
  return new NativeBreakIterator(getLineInstanceImpl(where.toString()), BI_LINE_INSTANCE);
}
origin: robovm/robovm

public CharacterIterator getText() {
  int newLocation = currentImpl(this.address, this.string);
  this.charIterator.setIndex(newLocation);
  return this.charIterator;
}
origin: MobiVM/robovm

@Override public boolean equals(Object o) {
  if (!(o instanceof RuleBasedBreakIterator)) {
    return false;
  }
  return wrapped.equals(((RuleBasedBreakIterator) o).wrapped);
}
origin: MobiVM/robovm

@Override public int following(int offset) {
  checkOffset(offset);
  return wrapped.following(offset);
}
libcore.icuNativeBreakIterator

Most used methods

  • <init>
  • clone
  • cloneImpl
  • closeImpl
  • current
  • currentImpl
  • equals
  • first
  • firstImpl
  • following
  • followingImpl
  • getCharacterInstance
  • followingImpl,
  • getCharacterInstance,
  • getCharacterInstanceImpl,
  • getLineInstance,
  • getLineInstanceImpl,
  • getSentenceInstance,
  • getSentenceInstanceImpl,
  • getText,
  • getWordInstance,
  • getWordInstanceImpl

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getContentResolver (Context)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Reference (javax.naming)
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now