Tabnine Logo
LwjglPreferences.putLong
Code IndexAdd Tabnine to your IDE (free)

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

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

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.lwjglLwjglPreferencesputLong

Popular methods of LwjglPreferences

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

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JButton (javax.swing)
  • Top Vim plugins
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