Codota Logo
LwjglPreferences.putFloat
Code IndexAdd Codota to your IDE (free)

How to use
putFloat
method
in
com.badlogic.gdx.backends.lwjgl.LwjglPreferences

Best Java code snippets using com.badlogic.gdx.backends.lwjgl.LwjglPreferences.putFloat (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: libgdx/libgdx

@Override
public Preferences put (Map<String, ?> vals) {
  for (Entry<String, ?> val : vals.entrySet()) {
    if (val.getValue() instanceof Boolean) putBoolean(val.getKey(), (Boolean)val.getValue());
    if (val.getValue() instanceof Integer) putInteger(val.getKey(), (Integer)val.getValue());
    if (val.getValue() instanceof Long) putLong(val.getKey(), (Long)val.getValue());
    if (val.getValue() instanceof String) putString(val.getKey(), (String)val.getValue());
    if (val.getValue() instanceof Float) putFloat(val.getKey(), (Float)val.getValue());
  }
  return this;
}
origin: libgdx/libgdx

@Override
public Preferences put (Map<String, ?> vals) {
  for (Entry<String, ?> val : vals.entrySet()) {
    if (val.getValue() instanceof Boolean) putBoolean(val.getKey(), (Boolean)val.getValue());
    if (val.getValue() instanceof Integer) putInteger(val.getKey(), (Integer)val.getValue());
    if (val.getValue() instanceof Long) putLong(val.getKey(), (Long)val.getValue());
    if (val.getValue() instanceof String) putString(val.getKey(), (String)val.getValue());
    if (val.getValue() instanceof Float) putFloat(val.getKey(), (Float)val.getValue());
  }
  return this;
}
origin: com.badlogicgames.gdx/gdx-backend-lwjgl

@Override
public Preferences put (Map<String, ?> vals) {
  for (Entry<String, ?> val : vals.entrySet()) {
    if (val.getValue() instanceof Boolean) putBoolean(val.getKey(), (Boolean)val.getValue());
    if (val.getValue() instanceof Integer) putInteger(val.getKey(), (Integer)val.getValue());
    if (val.getValue() instanceof Long) putLong(val.getKey(), (Long)val.getValue());
    if (val.getValue() instanceof String) putString(val.getKey(), (String)val.getValue());
    if (val.getValue() instanceof Float) putFloat(val.getKey(), (Float)val.getValue());
  }
  return this;
}
com.badlogic.gdx.backends.lwjglLwjglPreferencesputFloat

Popular methods of LwjglPreferences

  • <init>
  • getBoolean
  • getFloat
  • getInteger
  • getLong
  • getString
  • putBoolean
  • putInteger
  • putLong
  • putString

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • String (java.lang)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JFileChooser (javax.swing)
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