congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ValueIterator.nextValue
Code IndexAdd Tabnine to your IDE (free)

How to use
nextValue
method
in
com.mucommander.commons.conf.ValueIterator

Best Java code snippets using com.mucommander.commons.conf.ValueIterator.nextValue (Showing top 7 results out of 315)

origin: mucommander/mucommander

/**
 * Returns the next value in the iterator as a boolean.
 * @return                        the next value in the iterator as a boolean.
 * @throws NoSuchElementException if the iteration has no more elements.
 */
public boolean nextBooleanValue() {
  return ConfigurationSection.getBooleanValue(nextValue());
}
origin: mucommander/mucommander

/**
 * Returns the next value in the iterator as a integer.
 * @return                        the next value in the iterator as a integer.
 * @throws NoSuchElementException if the iteration has no more elements.
 * @throws NumberFormatException  if the value cannot be cast to an integer.
 */
public int nextIntegerValue() {
  return ConfigurationSection.getIntegerValue(nextValue());
}
origin: mucommander/mucommander

/**
 * Returns the next value in the iterator as a long.
 * @return                        the next value in the iterator as a long.
 * @throws NoSuchElementException if the iteration has no more elements.
 * @throws NumberFormatException  if the value cannot be cast to a long.
 */
public long nextLongValue() {
  return ConfigurationSection.getLongValue(nextValue());
}
origin: mucommander/mucommander

/**
 * Returns the next value in the iterator as a float.
 * @return                        the next value in the iterator as a float.
 * @throws NoSuchElementException if the iteration has no more elements.
 * @throws NumberFormatException  if the value cannot be cast to a float.
 */
public float nextFloatValue() {
  return ConfigurationSection.getFloatValue(nextValue());
}
origin: mucommander/mucommander

/**
 * Returns the next value in the iterator as a double.
 * @return                        the next value in the iterator as a double.
 * @throws NoSuchElementException if the iteration has no more elements.
 * @throws NumberFormatException  if the value cannot be cast to a double.
 */
public double nextDoubleValue() {
  return ConfigurationSection.getDoubleValue(nextValue());
}
origin: mucommander/mucommander

  /**
   * Returns the next value in the iterator as a {@link ValueList}.
   * @param  separator              stirng used to tokenise the next value.
   * @return                        the next value in the iterator as a {@link ValueList}.
   * @throws NoSuchElementException if the iteration has no more elements.
   */
  public ValueList nextListValue(String separator) {
    return ConfigurationSection.getListValue(nextValue(), separator);
  }
}
origin: mucommander/mucommander

/**
 * Tests the {@link ValueIterator#nextValue()} method.
 * @param values test data.
 */
@Override
protected void testStringValues(ValueList values) {
  ValueIterator iterator;
  iterator = values.valueIterator();
  for(int i = 0; i < 7; i++) {
    assert iterator.hasNext();
    assert Integer.toString(i + 1).equals(iterator.nextValue());
  }
  assert !iterator.hasNext();
}
com.mucommander.commons.confValueIteratornextValue

Javadoc

Returns the next value in the iterator as a string.

Popular methods of ValueIterator

  • <init>
    Creates a new ValueIterator wrapping the specified iterator.
  • hasNext
    Returns true if the iteration has more elements. (In other words, returns true if next would return
  • nextBooleanValue
    Returns the next value in the iterator as a boolean.
  • nextDoubleValue
    Returns the next value in the iterator as a double.
  • nextFloatValue
    Returns the next value in the iterator as a float.
  • nextIntegerValue
    Returns the next value in the iterator as a integer.
  • nextListValue
    Returns the next value in the iterator as a ValueList.
  • nextLongValue
    Returns the next value in the iterator as a long.

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • scheduleAtFixedRate (Timer)
  • getSupportFragmentManager (FragmentActivity)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Permission (java.security)
    Legacy security code; do not use.
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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