Codota Logo
ValueIterator.nextValue
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
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

  • Making http requests using okhttp
  • setContentView (Activity)
  • addToBackStack (FragmentTransaction)
  • onRequestPermissionsResult (Fragment)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Collectors (java.util.stream)
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JOptionPane (javax.swing)
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now