Codota Logo
SingleValue.createFromString
Code IndexAdd Codota to your IDE (free)

How to use
createFromString
method
in
org.deegree.coverage.rangeset.SingleValue

Best Java code snippets using org.deegree.coverage.rangeset.SingleValue.createFromString (Showing top 6 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: deegree/deegree3

private SingleValue<?> parseTypedLiteral( OMElement typedLiteralType ) {
  if ( typedLiteralType == null ) {
    return null;
  }
  String type = typedLiteralType.getAttributeValue( new QName( "type" ) );
  String value = typedLiteralType.getText();
  return SingleValue.createFromString( type, value );
}
origin: deegree/deegree3

private final static SingleValue<?> mapTT( TypedType tt ) {
  if ( tt == null ) {
    return null;
  }
  return SingleValue.createFromString( tt.getType(), tt.getValue() );
}
origin: deegree/deegree3

for ( String sv : split ) {
  if ( sv != null ) {
    singleValues.add( SingleValue.createFromString( ValueType.Void.name(), sv ) );
origin: deegree/deegree3

/**
 * Get the interval defined by the given String.
 * 
 * @param interval
 * @return
 */
private static Interval<?, ?> parseInterval( String interval, ValueType type ) {
  Interval<?, ?> result = null;
  String[] split = interval.split( "/" );
  if ( split.length == 2 || split.length == 3 ) {
    // should be min/max/res
    String min = split[0];
    String max = split[1];
    String res = null;
    if ( split.length == 3 ) {
      res = split[2];
    }
    SingleValue<?> spacing = res == null ? null : SingleValue.createFromString( ValueType.Void.name(), res );
    result = Interval.createFromStrings( type.toString(), min, max, Closure.closed, null, false, spacing );
  } else {
    LOG.warn( "Given intervall: " + interval + " has not enough values, maybe a default value is ment?" );
  }
  return result;
}
origin: deegree/deegree3

SingleValue<?> origSingle = it.next();
if ( origSingle != null ) {
  SingleValue<?> converted = SingleValue.createFromString( type, origSingle.value.toString() );
origin: deegree/deegree3

                      tmpInter.getSpacing() );
} else if ( sv.type == ValueType.Void ) {
  sv = SingleValue.createFromString( min.type.toString(), sv.value.toString() );
} else {
  continue;
org.deegree.coverage.rangesetSingleValuecreateFromString

Popular methods of SingleValue

  • <init>
  • equals
  • toString

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • getApplicationContext (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
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