<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
package eu.mihosoft.tutorials.streams; | |
import java.util.Arrays; | |
import java.util.List; | |
import static eu.mihosoft.tutorials.streams.Item.*; | |
import java.util.Objects; | |
import java.util.function.Predicate; | |
public class Main { |
/* | |
Dump the memory on a NTAG203 NFC tag using the Adafruit PN532 RFID/NFC Shield | |
http://www.adafruit.com/products/789 | |
This sketch requires the installation of the Adafruit I2C library for the shield, | |
which can be found at https://github.com/adafruit/Adafruit_NFCShield_I2C | |
The datasheet and other info for the NTAG203 can be found at | |
http://www.nxp.com/products/identification_and_security/smart_label_and_tag_ics/ntag/series/NTAG203.html | |
package com.dooapp.FXBinding.model; | |
import com.dooapp.FXBinding.FXDoubleBinding; | |
import javafx.beans.binding.DoubleBinding; | |
import javafx.collections.FXCollections; | |
import javafx.collections.ObservableList; | |
import javafx.scene.chart.XYChart; | |
/** | |
* A simple demo class |
import javafx.animation.Interpolator; | |
import javafx.animation.KeyFrame; | |
import javafx.animation.KeyValue; | |
import javafx.animation.TimelineBuilder; | |
import javafx.application.Application; | |
import javafx.embed.swing.*; | |
import javafx.geometry.Pos; | |
import javafx.scene.Node; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; |
import javafx.event.EventHandler; | |
import javafx.scene.Cursor; | |
import javafx.scene.input.MouseEvent; | |
import javafx.scene.layout.Region; | |
/** | |
* {@link DragResizer} can be used to add mouse listeners to a {@link Region} | |
* and make it resizable by the user by clicking and dragging the border in the | |
* same way as a window. | |
* <p> |
import javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.scene.Cursor; | |
import javafx.scene.Node; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; | |
import javafx.scene.input.MouseEvent; | |
import javafx.scene.input.ScrollEvent; | |
import javafx.scene.layout.Pane; |
public final void setBackScale(double value) { | |
backScaleProperty().set(value); | |
} | |
public final double getBackScale() { | |
return backScale == null ? 0.7 : backScale.get(); | |
} | |
public final DoubleProperty backScaleProperty() { | |
if (backScale == null) { | |
backScale = new StyleableDoubleProperty(0.7) { |
import javafx.scene.image.Image; | |
import javax.imageio.ImageIO; | |
import java.awt.image.*; | |
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
public Image getJavaFXImage(byte[] rawPixels, int width, int height) { | |
ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
try { | |
ImageIO.write((RenderedImage) createBufferedImage(rawPixels, width, height), "png", out); |
/** | |
* The time of animation in ms | |
*/ | |
private static final double ANIMATION_TIME = 2000; | |
private final Timeline lowerRangeTimeline = new Timeline(); | |
private final Timeline upperRangeTimeline = new Timeline(); |