Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.prefs.Preferences;

public class Main {
    public static void main(String[] argv) throws Exception {
    }

    // Returns true if node contains the specified key; false otherwise.
    public static boolean contains(Preferences node, String key) {
        return node.get(key, null) != null;
    }
}