SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Downloaden Sie, um offline zu lesen
java.applet.Applet#isValidateRoot                                        java.nio.channels.DatagramChannel#getRemoteAddress                  java.util.GregorianCalendar#setWeekDate                                           javax.swing.plaf.synth.SynthProgressBarUI [class]
java.awt.Window#setAutoRequestFocus                                      java.nio.channels.CompletionHandler [class]                         java.util.GregorianCalendar#getWeeksInWeekYear                                    javax.swing.plaf.synth.SynthPopupMenuUI [class]
java.awt.Window#isAutoRequestFocus                                       java.nio.channels.Channels#newInputStream                           java.util.Currency#getAvailableCurrencies                                         javax.swing.plaf.synth.SynthPasswordFieldUI [class]
java.awt.Window#isValidateRoot                                           java.nio.channels.Channels#newOutputStream                          java.util.Currency#getNumericCode                                                 javax.swing.plaf.synth.SynthPanelUI [class]
java.awt.Window#setType                                                  java.nio.channels.AsynchronousSocketChannel [class]                 java.util.Currency#getDisplayName                                                 javax.swing.plaf.synth.SynthOptionPaneUI [class]
java.awt.Window#getType                                                  java.nio.channels.AsynchronousServerSocketChannel [class]           java.util.Currency#getDisplayName                                                 javax.swing.plaf.synth.SynthMenuUI [class]
java.awt.Window#getOpacity                                               java.nio.channels.AsynchronousFileChannel [class]                   java.util.Collections#emptyIterator                                               javax.swing.plaf.synth.SynthMenuItemUI [class]
java.awt.Window#setOpacity                                               java.nio.channels.AsynchronousChannelGroup [class]                  java.util.Collections#emptyListIterator                                           javax.swing.plaf.synth.SynthMenuBarUI [class]
java.awt.Window#getShape                                                 java.nio.channels.AsynchronousChannel [class]                       java.util.Collections#emptyEnumeration                                            javax.swing.plaf.synth.SynthLookAndFeel#shouldUpdateStyleOnEvent
java.awt.Window#setShape                                                 java.nio.channels.AsynchronousByteChannel [class]                   java.util.Calendar#isWeekDateSupported                                            javax.swing.plaf.synth.SynthListUI [class]
java.awt.Window#isOpaque                                                 java.nio.channels.AlreadyBoundException [class]                     java.util.Calendar#getWeekYear                                                    javax.swing.plaf.synth.SynthLabelUI [class]
java.awt.Window#paint                                                    java.nio.channels.AcceptPendingException [class]                    java.util.Calendar#setWeekDate                                                    javax.swing.plaf.synth.SynthInternalFrameUI [class]
java.awt.Window.Type [class]                                             java.nio.channels.spi.SelectorProvider#openDatagramChannel          java.util.Calendar#getWeeksInWeekYear                                             javax.swing.plaf.synth.SynthFormattedTextFieldUI [class]
java.awt.Toolkit#areExtraMouseButtonsEnabled                             java.nio.channels.spi.AsynchronousChannelProvider [class]           java.util.BitSet#valueOf                                                          javax.swing.plaf.synth.SynthEditorPaneUI [class]
java.awt.SecondaryLoop [class]                                           java.nio.charset.StandardCharsets [class]                           java.util.BitSet#valueOf                                                          javax.swing.plaf.synth.SynthDesktopPaneUI [class]
java.awt.GraphicsDevice#isWindowTranslucencySupported                    java.nio.file.Watchable [class]                                     java.util.BitSet#valueOf                                                          javax.swing.plaf.synth.SynthDesktopIconUI [class]
java.awt.GraphicsDevice.WindowTranslucency [class]                       java.nio.file.WatchService [class]                                  java.util.BitSet#valueOf                                                          javax.swing.plaf.synth.SynthComboBoxUI [class]
java.awt.GraphicsConfiguration#isTranslucencyCapable                     java.nio.file.WatchKey [class]                                      java.util.BitSet#toByteArray                                                      javax.swing.plaf.synth.SynthColorChooserUI [class]
java.awt.FileDialog#getFiles                                             java.nio.file.WatchEvent [class]                                    java.util.BitSet#toLongArray                                                      javax.swing.plaf.synth.SynthCheckBoxUI [class]
java.awt.FileDialog#setMultipleMode                                      java.nio.file.WatchEvent.Kind [class]                               java.util.BitSet#previousSetBit                                                   javax.swing.plaf.synth.SynthCheckBoxMenuItemUI [class]
java.awt.FileDialog#isMultipleMode                                       java.nio.file.WatchEvent.Modifier [class]                           java.util.BitSet#previousClearBit                                                 javax.swing.plaf.synth.SynthButtonUI [class]
java.awt.EventQueue#createSecondaryLoop                                  java.nio.file.StandardWatchEventKinds [class]                       java.util.concurrent.TransferQueue [class]                                        javax.swing.text.JTextComponent#saveComposedText
java.awt.Container#isValidateRoot                                        java.nio.file.StandardOpenOption [class]                            java.util.concurrent.ThreadLocalRandom [class]                                    javax.swing.text.JTextComponent#restoreComposedText
java.awt.Component#revalidate                                            java.nio.file.StandardCopyOption [class]                            java.util.concurrent.ScheduledThreadPoolExecutor#setRemoveOnCancelPolicy          javax.swing.text.DefaultStyledDocument#removeElement
java.awt.event.MouseWheelEvent#getPreciseWheelRotation                   java.nio.file.SimpleFileVisitor [class]                             java.util.concurrent.ScheduledThreadPoolExecutor#getRemoveOnCancelPolicy          javax.swing.tree.DefaultTreeCellRenderer#updateUI
java.awt.event.KeyEvent#getExtendedKeyCode                               java.nio.file.SecureDirectoryStream [class]                         java.util.concurrent.RecursiveTask [class]
java.awt.event.KeyEvent#getExtendedKeyCodeForChar                        java.nio.file.Paths [class]                                         java.util.concurrent.RecursiveAction [class]
java.awt.event.InvocationEvent#isDispatched                              java.nio.file.PathMatcher [class]                                   java.util.concurrent.Phaser [class]
java.awt.font.NumericShaper#getShaper                                    java.nio.file.Path [class]                                          java.util.concurrent.LinkedTransferQueue [class]
java.awt.font.NumericShaper#getContextualShaper                          java.nio.file.OpenOption [class]                                    java.util.concurrent.ForkJoinWorkerThread [class]
java.awt.font.NumericShaper#getContextualShaper                          java.nio.file.NotLinkException [class]                              java.util.concurrent.ForkJoinTask [class]
java.awt.font.NumericShaper#shape                                        java.nio.file.NotDirectoryException [class]                         java.util.concurrent.ForkJoinPool [class]
java.awt.font.NumericShaper#getRangeSet                                  java.nio.file.NoSuchFileException [class]                           java.util.concurrent.ConcurrentLinkedDeque [class]
java.awt.font.NumericShaper.Range [class]                                java.nio.file.LinkPermission [class]                                java.util.concurrent.locks.AbstractQueuedSynchronizer#hasQueuedPredecessors
java.awt.peer.ComponentPeer#applyShape                                   java.nio.file.LinkOption [class]                                    java.util.concurrent.locks.AbstractQueuedLongSynchronizer#hasQueuedPredecessors
java.awt.peer.ComponentPeer#updateGraphicsData                           java.nio.file.Files [class]                                         java.util.logging.Logger#getGlobal
java.awt.peer.CanvasPeer#getAppropriateGraphicsConfiguration             java.nio.file.FileVisitor [class]                                   java.util.spi.LocaleNameProvider#getDisplayScript
java.beans.XMLDecoder#createHandler                                      java.nio.file.FileVisitResult [class]                               java.util.spi.CurrencyNameProvider#getDisplayName
java.beans.Transient [class]                                             java.nio.file.FileVisitOption [class]                               java.util.zip.DeflaterOutputStream#flush
java.beans.PropertyChangeEvent#toString                                  java.nio.file.FileSystems [class]                                   java.util.zip.Deflater#deflate
java.beans.Introspector#getBeanInfo                                      java.nio.file.FileSystemLoopException [class]                       javax.lang.model.UnknownEntityException [class]
java.beans.FeatureDescriptor#toString                                    java.nio.file.FileSystemException [class]                           javax.lang.model.element.QualifiedNameable [class]
java.beans.Expression#execute                                            java.nio.file.FileSystem [class]                                    javax.lang.model.element.Parameterizable [class]
java.io.File#toPath                                                      java.nio.file.FileStore [class]                                     javax.lang.model.type.UnionType [class]
java.lang.Throwable#addSuppressed                                        java.nio.file.FileAlreadyExistsException [class]                    javax.lang.model.type.TypeVisitor#visitUnion
java.lang.Throwable#getSuppressed                                        java.nio.file.DirectoryStream [class]                               javax.lang.model.util.TypeKindVisitor7 [class]
java.lang.Short#compare                                                  java.nio.file.DirectoryStream.Filter [class]                        javax.lang.model.util.SimpleTypeVisitor7 [class]
java.lang.ReflectiveOperationException [class]                           java.nio.file.DirectoryNotEmptyException [class]                    javax.lang.model.util.SimpleElementVisitor7 [class]
java.lang.ProcessBuilder#redirectInput                                   java.nio.file.DirectoryIteratorException [class]                    javax.lang.model.util.SimpleAnnotationValueVisitor7 [class]
java.lang.ProcessBuilder#redirectOutput                                  java.nio.file.CopyOption [class]                                    javax.lang.model.util.ElementScanner7 [class]
java.lang.ProcessBuilder#redirectError                                   java.nio.file.ClosedDirectoryStreamException [class]                javax.lang.model.util.ElementKindVisitor7 [class]
java.lang.ProcessBuilder#redirectInput                                   java.nio.file.AtomicMoveNotSupportedException [class]               javax.lang.model.util.ElementKindVisitor6#visitVariableAsResourceVariable
java.lang.ProcessBuilder#redirectOutput                                  java.nio.file.AccessMode [class]                                    javax.lang.model.util.AbstractTypeVisitor7 [class]
java.lang.ProcessBuilder#redirectError                                   java.nio.file.AccessDeniedException [class]                         javax.lang.model.util.AbstractTypeVisitor6#visitUnion
java.lang.ProcessBuilder#redirectInput                                   java.nio.file.attribute.UserPrincipalNotFoundException [class]      javax.lang.model.util.AbstractElementVisitor7 [class]
java.lang.ProcessBuilder#redirectOutput                                  java.nio.file.attribute.UserPrincipalLookupService [class]          javax.lang.model.util.AbstractAnnotationValueVisitor7 [class]
java.lang.ProcessBuilder#redirectError                                   java.nio.file.attribute.UserPrincipal [class]                       javax.print.attribute.standard.DialogTypeSelection [class]
java.lang.ProcessBuilder#inheritIO                                       java.nio.file.attribute.UserDefinedFileAttributeView [class]        javax.security.auth.kerberos.KeyTab [class]
java.lang.ProcessBuilder.Redirect [class]                                java.nio.file.attribute.PosixFilePermissions [class]                javax.sound.midi.MidiDeviceTransmitter [class]
java.lang.Long#compare                                                   java.nio.file.attribute.PosixFilePermission [class]                 javax.sound.midi.MidiDeviceReceiver [class]
java.lang.Integer#compare                                                java.nio.file.attribute.PosixFileAttributes [class]                 javax.sql.CommonDataSource#getParentLogger
java.lang.ClassValue [class]                                             java.nio.file.attribute.PosixFileAttributeView [class]              javax.sql.rowset.RowSetProvider [class]
java.lang.ClassLoader#getClassLoadingLock                                java.nio.file.attribute.GroupPrincipal [class]                      javax.sql.rowset.RowSetProvider#newFactory
java.lang.ClassLoader#registerAsParallelCapable                          java.nio.file.attribute.FileTime [class]                            javax.sql.rowset.RowSetProvider#newFactory
java.lang.Character#isBmpCodePoint                                       java.nio.file.attribute.FileStoreAttributeView [class]              javax.sql.rowset.RowSetFactory [class]
java.lang.Character#isSurrogate                                          java.nio.file.attribute.FileOwnerAttributeView [class]              javax.sql.rowset.RowSetFactory#createCachedRowSet
java.lang.Character#highSurrogate                                        java.nio.file.attribute.FileAttributeView [class]                   javax.sql.rowset.RowSetFactory#createFilteredRowSet
java.lang.Character#lowSurrogate                                         java.nio.file.attribute.FileAttribute [class]                       javax.sql.rowset.RowSetFactory#createJdbcRowSet
java.lang.Character#isAlphabetic                                         java.nio.file.attribute.DosFileAttributes [class]                   javax.sql.rowset.RowSetFactory#createJoinRowSet
java.lang.Character#isIdeographic                                        java.nio.file.attribute.DosFileAttributeView [class]                javax.sql.rowset.RowSetFactory#createWebRowSet
java.lang.Character#compare                                              java.nio.file.attribute.BasicFileAttributes [class]                 javax.swing.SwingUtilities#getUnwrappedParent
java.lang.Character#getName                                              java.nio.file.attribute.BasicFileAttributeView [class]              javax.swing.SwingUtilities#getUnwrappedView
java.lang.Character.UnicodeScript [class]                                java.nio.file.attribute.AttributeView [class]                       javax.swing.JTree.EmptySelectionModel#setSelectionMode
java.lang.Byte#compare                                                   java.nio.file.attribute.AclFileAttributeView [class]                javax.swing.JTree.EmptySelectionModel#setRowMapper
java.lang.BootstrapMethodError [class]                                   java.nio.file.attribute.AclEntryType [class]                        javax.swing.JTree.EmptySelectionModel#addTreeSelectionListener
java.lang.Boolean#compare                                                java.nio.file.attribute.AclEntryPermission [class]                  javax.swing.JTree.EmptySelectionModel#removeTreeSelectionListener
java.lang.AutoCloseable [class]                                          java.nio.file.attribute.AclEntryFlag [class]                        javax.swing.JTree.EmptySelectionModel#addPropertyChangeListener
java.lang.invoke.WrongMethodTypeException [class]                        java.nio.file.attribute.AclEntry [class]                            javax.swing.JTree.EmptySelectionModel#removePropertyChangeListener
java.lang.management.PlatformManagedObject [class]                       java.nio.file.attribute.AclEntry.Builder [class]                    javax.swing.JSlider#imageUpdate
java.lang.management.PlatformLoggingMXBean [class]                       java.nio.file.spi.FileTypeDetector [class]                          javax.swing.JList#getSelectedValuesList
java.lang.management.ManagementFactory#getPlatformMXBean                 java.nio.file.spi.FileSystemProvider [class]                        javax.swing.JLayer [class]
java.lang.management.ManagementFactory#getPlatformMXBeans                java.security.CryptoPrimitive [class]                               javax.swing.BorderFactory#createLineBorder
java.lang.management.ManagementFactory#getPlatformMXBean                 java.security.AlgorithmConstraints [class]                          javax.swing.BorderFactory#createRaisedSoftBevelBorder
java.lang.management.ManagementFactory#getPlatformMXBeans                java.security.cert.X509CRLEntry#getRevocationReason                 javax.swing.BorderFactory#createLoweredSoftBevelBorder
java.lang.management.ManagementFactory#getPlatformManagementInterfaces   java.security.cert.PKIXReason [class]                               javax.swing.BorderFactory#createSoftBevelBorder
java.lang.management.BufferPoolMXBean [class]                            java.security.cert.Extension [class]                                javax.swing.BorderFactory#createSoftBevelBorder
java.lang.reflect.Modifier#classModifiers                                java.security.cert.CertificateRevokedException [class]              javax.swing.BorderFactory#createSoftBevelBorder
java.lang.reflect.Modifier#interfaceModifiers                            java.security.cert.CertPathValidatorException#getReason             javax.swing.BorderFactory#createStrokeBorder
java.lang.reflect.Modifier#constructorModifiers                          java.security.cert.CertPathValidatorException.Reason [class]        javax.swing.BorderFactory#createStrokeBorder
java.lang.reflect.Modifier#methodModifiers                               java.security.cert.CertPathValidatorException.BasicReason [class]   javax.swing.BorderFactory#createDashedBorder
java.lang.reflect.Modifier#fieldModifiers                                java.security.cert.CRLReason [class]                                javax.swing.BorderFactory#createDashedBorder
java.net.URLClassLoader#getResourceAsStream                              java.sql.Statement#closeOnCompletion                                javax.swing.BorderFactory#createDashedBorder
java.net.URLClassLoader#close                                            java.sql.Statement#isCloseOnCompletion                              javax.swing.border.StrokeBorder [class]
java.net.StandardSocketOptions [class]                                   java.sql.ResultSet#getObject                                        javax.swing.event.HyperlinkEvent#getInputEvent
java.net.StandardProtocolFamily [class]                                  java.sql.ResultSet#getObject                                        javax.swing.plaf.LayerUI [class]
java.net.SocketOption [class]                                            java.sql.PseudoColumnUsage [class]                                  javax.swing.plaf.FileChooserUI#getDefaultButton
java.net.ProtocolFamily [class]                                          java.sql.Driver#getParentLogger                                     javax.swing.plaf.basic.BasicTreeUI#isDropLine
java.net.NetworkInterface#getIndex                                       java.sql.DatabaseMetaData#getPseudoColumns                          javax.swing.plaf.basic.BasicTreeUI#paintDropLine
java.net.NetworkInterface#getByIndex                                     java.sql.DatabaseMetaData#generatedKeyAlwaysReturned                javax.swing.plaf.basic.BasicTreeUI#getDropLineRect
java.net.InetSocketAddress#getHostString                                 java.sql.Connection#setSchema                                       javax.swing.plaf.basic.BasicTreeUI#updateLeadSelectionRow
java.net.InetAddress#getLoopbackAddress                                  java.sql.Connection#getSchema                                       javax.swing.plaf.basic.BasicTreeUI#getLeadSelectionRow
java.net.HttpURLConnection#setFixedLengthStreamingMode                   java.sql.Connection#abort                                           javax.swing.plaf.basic.BasicFileChooserUI#createUI
java.nio.channels.WritePendingException [class]                          java.sql.Connection#setNetworkTimeout                               javax.swing.plaf.basic.BasicComboBoxUI#getSizeForComponent
java.nio.channels.SocketChannel#bind                                     java.sql.Connection#getNetworkTimeout                               javax.swing.plaf.basic.BasicColorChooserUI#uninstallPreviewPanel
java.nio.channels.SocketChannel#setOption                                java.sql.CallableStatement#getObject                                javax.swing.plaf.nimbus.NimbusLookAndFeel#shouldUpdateStyleOnEvent
java.nio.channels.SocketChannel#shutdownInput                            java.sql.CallableStatement#getObject                                javax.swing.plaf.synth.SynthViewportUI [class]
java.nio.channels.SocketChannel#shutdownOutput                           java.util.TimeZone#observesDaylightTime                             javax.swing.plaf.synth.SynthUI [class]
java.nio.channels.SocketChannel#getRemoteAddress                         java.util.SimpleTimeZone#observesDaylightTime                       javax.swing.plaf.synth.SynthTreeUI [class]
java.nio.channels.ShutdownChannelGroupException [class]                  java.util.Objects [class]                                           javax.swing.plaf.synth.SynthToolTipUI [class]
java.nio.channels.ServerSocketChannel#bind                               java.util.Locale#getDefault                                         javax.swing.plaf.synth.SynthToolBarUI [class]
java.nio.channels.ServerSocketChannel#bind                               java.util.Locale#setDefault                                         javax.swing.plaf.synth.SynthToggleButtonUI [class]
java.nio.channels.ServerSocketChannel#setOption                          java.util.Locale#getScript                                          javax.swing.plaf.synth.SynthTextPaneUI [class]
java.nio.channels.SeekableByteChannel [class]                            java.util.Locale#getExtension                                       javax.swing.plaf.synth.SynthTextFieldUI [class]
java.nio.channels.ReadPendingException [class]                           java.util.Locale#getExtensionKeys                                   javax.swing.plaf.synth.SynthTextAreaUI [class]
java.nio.channels.NetworkChannel [class]                                 java.util.Locale#getUnicodeLocaleAttributes                         javax.swing.plaf.synth.SynthTableUI [class]
java.nio.channels.MulticastChannel [class]                               java.util.Locale#getUnicodeLocaleType                               javax.swing.plaf.synth.SynthTableHeaderUI [class]
java.nio.channels.MembershipKey [class]                                  java.util.Locale#getUnicodeLocaleKeys                               javax.swing.plaf.synth.SynthTabbedPaneUI [class]
java.nio.channels.InterruptedByTimeoutException [class]                  java.util.Locale#toLanguageTag                                      javax.swing.plaf.synth.SynthSplitPaneUI [class]
java.nio.channels.IllegalChannelGroupException [class]                   java.util.Locale#forLanguageTag                                     javax.swing.plaf.synth.SynthSpinnerUI [class]
java.nio.channels.FileLock#acquiredBy                                    java.util.Locale#getDisplayScript                                   javax.swing.plaf.synth.SynthSliderUI [class]
java.nio.channels.FileLock#close                                         java.util.Locale#getDisplayScript                                   javax.swing.plaf.synth.SynthSeparatorUI [class]
java.nio.channels.FileChannel#open                                       java.util.Locale.Category [class]                                   javax.swing.plaf.synth.SynthScrollPaneUI [class]
java.nio.channels.FileChannel#open                                       java.util.Locale.Builder [class]                                    javax.swing.plaf.synth.SynthScrollBarUI [class]
java.nio.channels.DatagramChannel#open                                   java.util.IllformedLocaleException [class]                          javax.swing.plaf.synth.SynthRootPaneUI [class]
java.nio.channels.DatagramChannel#bind                                   java.util.GregorianCalendar#isWeekDateSupported                     javax.swing.plaf.synth.SynthRadioButtonUI [class]
java.nio.channels.DatagramChannel#setOption                              java.util.GregorianCalendar#getWeekYear                             javax.swing.plaf.synth.SynthRadioButtonMenuItemUI [class]
Objects
     Short
     Long
    Integer
  Character
      Byte
   Boolean
  Collections
AssertionError
 InetAddress
  Throwable
ProcessBuilder
   Calendar
Objects
     Short
     Long
    Integer
  Character
      Byte
   Boolean
  Collections
AssertionError
 InetAddress
  Throwable
ProcessBuilder
   Calendar
Objects

public static boolean equals(Object a, Object b)
public static boolean deepEquals(Object a, Object b)
public static int hashCode(Object o)
public static int hash(Object... values)
public static String toString(Object o)
public static String toString(Object o, String nullDefault)
public static <T> int compare(T a, T b, Comparator<? super T> c)
public static <T> T requireNonNull(T obj)
public static <T> T requireNonNull(T obj, String message)
Objects#equals

Object o1 = new Object();
Object o2 = o1;
assert Objects.equals(o1, o2); // true

//            ==
// false    equals
// return (a == b) || (a != null && a.equals(b))

assert Objects.equals("aaa", "aaa"); // true
Objects#deepEquals


int[][] a1 = { {1, 2, 3}, {4, 5, 6} };
int[][] a2 = { {1, 2, 3}, {4, 5, 6} };

// Arrays.deepEquals
assert Objects.deepEquals(a1, a2); // true
Objects#toString

//   2
//           String.valueOf
String s1 = Objects.toString("aaa", "null value");
assert s1.equals("aaa"); // true

String s2 = Objects.toString(null, "null value");
assert s2.equals("null value"); // true
Objects#requireNonNull


void setName(String name) {
    //       null
   this.name
       = Objects.requireNonNull(name, "   ");
}
Objects
    Short
    Long
   Integer
 Character
    Byte
  Boolean
  Collections
AssertionError
 InetAddress
  Throwable
ProcessBuilder
   Calendar
#compare
   //           0   x             -1
   // x                 1

java.lang.Short#compare(short x, short y)
java.lang.Long#compare(long x, long y)
java.lang.Integer#compare(int x, int y)
java.lang.Character#compare(char x, char y)
java.lang.Byte#compare(byte x, byte y)
java.lang.Boolean#compare(boolean x, boolean y)
Objects
     Short
     Long
    Integer
  Character
      Byte
   Boolean
Collections
AssertionError
 InetAddress
  Throwable
ProcessBuilder
   Calendar
Collections


public static <T> Iterator<T> emptyIterator()

public static <T> ListIterator<T> emptyListIterator()

public static <T> Enumeration<T> emptyEnumeration()
//       Iterator
// Collections.emptyXXX()
public Iterator<E> iterator() {
    if (data == null) {
        return Collections.emptyIterator();
    }
    // ...
}
Objects
      Short
      Long
     Integer
   Character
       Byte
    Boolean
   Collections
AssertionError
  InetAddress
   Throwable
 ProcessBuilder
    Calendar
AssertionError



public AssertionError(String message,
                      Throwable cause)
AssertionError(String, Throwable)


try {
    Class.forName("              ");
} catch (ClassNotFoundException e) {
    // try-catch
    //
    //
    throw new AssertionError("   (^o^)       ", e);
}
Objects
     Short
     Long
    Integer
  Character
      Byte
   Boolean
  Collections
AssertionError
InetAddress
  Throwable
ProcessBuilder
   Calendar
InetAddress



public static InetAddress getLoopbackAddress()
InetAddress#getLoopbackAddress



InetAddress a = InetAddress.getLoopbackAddress();

assert a.getHostAddress().equals("127.0.0.1");
assert a.getHostName().equals("localhost");
assert a.isLoopbackAddress();
Objects
     Short
     Long
    Integer
  Character
      Byte
   Boolean
  Collections
AssertionError
 InetAddress
 Throwable
ProcessBuilder
   Calendar
Throwable


public final synchronized
              void addSuppressed(Throwable exception)


public final synchronized
              Throwable[] getSuppressed()
Throwable#addSuppressed
Throwable#getSuppressed
// try-with-resources
//
try {
    view.setTimes(attrs.lastModifiedTime(),
                  attrs.lastAccessTime(),
                  attrs.creationTime());
} catch (Throwable x) {
    // rollback
    try {
        Files.delete(target);
    } catch (Throwable suppressed) {
        x.addSuppressed(suppressed);
    }
    throw x;
}
Objects
      Short
      Long
     Integer
   Character
       Byte
    Boolean
   Collections
 AssertionError
  InetAddress
   Throwable
ProcessBuilder
    Calendar
ProcessBuilder
public   ProcessBuilder
                      redirectInput(Redirect source)
public   ProcessBuilder
                      redirectOutput(Redirect destination)
public   ProcessBuilder
                      redirectError(Redirect destination)
public   ProcessBuilder
                      redirectInput(File file)
public   ProcessBuilder
                      redirectOutput(File file)
public   ProcessBuilder
                      redirectError(File file)
public   ProcessBuilder
                      redirectErrorStream
                              (boolean redirectErrorStream)
public ProcessBuilder inheritIO()
public static abstract class Redirect
//

// md5 input.txt > output.txt

ProcessBuilder builder = new ProcessBuilder("md5");
builder.redirectInput(Redirect.from(new File("input.txt")));
builder.redirectOutput(Redirect.to(new File("output.txt")));
Process process = builder.start();
// ...
Objects
     Short
     Long
    Integer
  Character
      Byte
   Boolean
  Collections
AssertionError
 InetAddress
  Throwable
ProcessBuilder
  Calendar
Calendar
                 (GregorianCalendar)


public   boolean isWeekDateSupported()
public   int getWeeksInWeekYear()
public   int getWeekYear()
public   void setWeekDate(int weekYear, int weekOfYear, int dayOfWeek)
Calendar calendar = Calendar.getInstance();

// ISO8601
calendar.setFirstDayOfWeek(MONDAY);
calendar.setMinimalDaysInFirstWeek(4);

// 2011      1
calendar.setWeekDate(2011, 1, MONDAY);

assert calendar.get(YEAR) == 2011; // 2011
assert calendar.get(MONTH) == 0; // 1
assert calendar.get(DAY_OF_MONTH) == 3; // 3
Calendar calendar = Calendar.getInstance();

// ISO8601
calendar.setFirstDayOfWeek(MONDAY);
calendar.setMinimalDaysInFirstWeek(4);

calendar.set(2011, 0, 2); // 2011 1 2
assert calendar.getWeekYear() == 2010;

calendar.set(2011, 0, 3); // 2011 1 3
assert calendar.getWeekYear() == 2011;
Calendar calendar = Calendar.getInstance();

//ISO8601
calendar.setFirstDayOfWeek(MONDAY);
calendar.setMinimalDaysInFirstWeek(4);

calendar.set(YEAR, 2011);
assert calendar.getWeeksInWeekYear() == 52;

calendar.set(YEAR, 2010);
assert calendar.getWeeksInWeekYear() == 52;

calendar.set(YEAR, 2009);
assert calendar.getWeeksInWeekYear() == 53;
Project Coinより小さなCoin
Project Coinより小さなCoin
Project Coinより小さなCoin

Weitere ähnliche Inhalte

Ähnlich wie Project Coinより小さなCoin

It pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_enIt pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_enGeorge Birbilis
 
Con-FESS 2015 - Having Fun With Javassist
Con-FESS 2015 - Having Fun With JavassistCon-FESS 2015 - Having Fun With Javassist
Con-FESS 2015 - Having Fun With JavassistAnton Arhipov
 
Java awt tutorial javatpoint
Java awt tutorial   javatpointJava awt tutorial   javatpoint
Java awt tutorial javatpointRicardo Garcia
 
Advance java kvr -satya
Advance java  kvr -satyaAdvance java  kvr -satya
Advance java kvr -satyaSatya Johnny
 
Development of Java tools using SWT and WALA af Hans Søndergaard, ViaUC
Development of Java tools using SWT and WALA af Hans Søndergaard, ViaUCDevelopment of Java tools using SWT and WALA af Hans Søndergaard, ViaUC
Development of Java tools using SWT and WALA af Hans Søndergaard, ViaUCInfinIT - Innovationsnetværket for it
 
Scripting with Java FX - Cédric Tabin - December 2007
Scripting with Java FX - Cédric Tabin - December 2007Scripting with Java FX - Cédric Tabin - December 2007
Scripting with Java FX - Cédric Tabin - December 2007JUG Lausanne
 
Advanced java jee material by KV Rao sir
Advanced java jee material by KV Rao sirAdvanced java jee material by KV Rao sir
Advanced java jee material by KV Rao sirAVINASH KUMAR
 
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...Edureka!
 
JVM, JRE and Javac are the main part for the java program
 JVM, JRE and Javac are the main part for the java program JVM, JRE and Javac are the main part for the java program
JVM, JRE and Javac are the main part for the java programsiyaram ray
 
Java interview questions and answers for cognizant By Data Council Pune
Java interview questions and answers for cognizant By Data Council PuneJava interview questions and answers for cognizant By Data Council Pune
Java interview questions and answers for cognizant By Data Council PunePankaj kshirsagar
 
Java programming basics
Java programming basicsJava programming basics
Java programming basicsHamid Ghorbani
 
in java(netbeans) create a javaFX GUI that can open and display the co.docx
in java(netbeans) create a javaFX GUI that can open and display the co.docxin java(netbeans) create a javaFX GUI that can open and display the co.docx
in java(netbeans) create a javaFX GUI that can open and display the co.docxmckerliejonelle
 

Ähnlich wie Project Coinより小さなCoin (20)

Swing
SwingSwing
Swing
 
Swing
SwingSwing
Swing
 
It pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_enIt pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_en
 
1_JavIntro
1_JavIntro1_JavIntro
1_JavIntro
 
Con-FESS 2015 - Having Fun With Javassist
Con-FESS 2015 - Having Fun With JavassistCon-FESS 2015 - Having Fun With Javassist
Con-FESS 2015 - Having Fun With Javassist
 
Java awt tutorial javatpoint
Java awt tutorial   javatpointJava awt tutorial   javatpoint
Java awt tutorial javatpoint
 
Adv kvr -satya
Adv  kvr -satyaAdv  kvr -satya
Adv kvr -satya
 
Advance java kvr -satya
Advance java  kvr -satyaAdvance java  kvr -satya
Advance java kvr -satya
 
SWING.pptx
SWING.pptxSWING.pptx
SWING.pptx
 
Development of Java tools using SWT and WALA af Hans Søndergaard, ViaUC
Development of Java tools using SWT and WALA af Hans Søndergaard, ViaUCDevelopment of Java tools using SWT and WALA af Hans Søndergaard, ViaUC
Development of Java tools using SWT and WALA af Hans Søndergaard, ViaUC
 
Introduction To Java.
Introduction To Java.Introduction To Java.
Introduction To Java.
 
Scripting with Java FX - Cédric Tabin - December 2007
Scripting with Java FX - Cédric Tabin - December 2007Scripting with Java FX - Cédric Tabin - December 2007
Scripting with Java FX - Cédric Tabin - December 2007
 
Java Quiz - Meetup
Java Quiz - MeetupJava Quiz - Meetup
Java Quiz - Meetup
 
Advanced java jee material by KV Rao sir
Advanced java jee material by KV Rao sirAdvanced java jee material by KV Rao sir
Advanced java jee material by KV Rao sir
 
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...
 
JVM, JRE and Javac are the main part for the java program
 JVM, JRE and Javac are the main part for the java program JVM, JRE and Javac are the main part for the java program
JVM, JRE and Javac are the main part for the java program
 
Java interview questions and answers for cognizant By Data Council Pune
Java interview questions and answers for cognizant By Data Council PuneJava interview questions and answers for cognizant By Data Council Pune
Java interview questions and answers for cognizant By Data Council Pune
 
Java programming basics
Java programming basicsJava programming basics
Java programming basics
 
The JavaFX Ecosystem
The JavaFX EcosystemThe JavaFX Ecosystem
The JavaFX Ecosystem
 
in java(netbeans) create a javaFX GUI that can open and display the co.docx
in java(netbeans) create a javaFX GUI that can open and display the co.docxin java(netbeans) create a javaFX GUI that can open and display the co.docx
in java(netbeans) create a javaFX GUI that can open and display the co.docx
 

Kürzlich hochgeladen

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Kürzlich hochgeladen (20)

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Project Coinより小さなCoin

  • 1.
  • 2.
  • 3.
  • 4. java.applet.Applet#isValidateRoot java.nio.channels.DatagramChannel#getRemoteAddress java.util.GregorianCalendar#setWeekDate javax.swing.plaf.synth.SynthProgressBarUI [class] java.awt.Window#setAutoRequestFocus java.nio.channels.CompletionHandler [class] java.util.GregorianCalendar#getWeeksInWeekYear javax.swing.plaf.synth.SynthPopupMenuUI [class] java.awt.Window#isAutoRequestFocus java.nio.channels.Channels#newInputStream java.util.Currency#getAvailableCurrencies javax.swing.plaf.synth.SynthPasswordFieldUI [class] java.awt.Window#isValidateRoot java.nio.channels.Channels#newOutputStream java.util.Currency#getNumericCode javax.swing.plaf.synth.SynthPanelUI [class] java.awt.Window#setType java.nio.channels.AsynchronousSocketChannel [class] java.util.Currency#getDisplayName javax.swing.plaf.synth.SynthOptionPaneUI [class] java.awt.Window#getType java.nio.channels.AsynchronousServerSocketChannel [class] java.util.Currency#getDisplayName javax.swing.plaf.synth.SynthMenuUI [class] java.awt.Window#getOpacity java.nio.channels.AsynchronousFileChannel [class] java.util.Collections#emptyIterator javax.swing.plaf.synth.SynthMenuItemUI [class] java.awt.Window#setOpacity java.nio.channels.AsynchronousChannelGroup [class] java.util.Collections#emptyListIterator javax.swing.plaf.synth.SynthMenuBarUI [class] java.awt.Window#getShape java.nio.channels.AsynchronousChannel [class] java.util.Collections#emptyEnumeration javax.swing.plaf.synth.SynthLookAndFeel#shouldUpdateStyleOnEvent java.awt.Window#setShape java.nio.channels.AsynchronousByteChannel [class] java.util.Calendar#isWeekDateSupported javax.swing.plaf.synth.SynthListUI [class] java.awt.Window#isOpaque java.nio.channels.AlreadyBoundException [class] java.util.Calendar#getWeekYear javax.swing.plaf.synth.SynthLabelUI [class] java.awt.Window#paint java.nio.channels.AcceptPendingException [class] java.util.Calendar#setWeekDate javax.swing.plaf.synth.SynthInternalFrameUI [class] java.awt.Window.Type [class] java.nio.channels.spi.SelectorProvider#openDatagramChannel java.util.Calendar#getWeeksInWeekYear javax.swing.plaf.synth.SynthFormattedTextFieldUI [class] java.awt.Toolkit#areExtraMouseButtonsEnabled java.nio.channels.spi.AsynchronousChannelProvider [class] java.util.BitSet#valueOf javax.swing.plaf.synth.SynthEditorPaneUI [class] java.awt.SecondaryLoop [class] java.nio.charset.StandardCharsets [class] java.util.BitSet#valueOf javax.swing.plaf.synth.SynthDesktopPaneUI [class] java.awt.GraphicsDevice#isWindowTranslucencySupported java.nio.file.Watchable [class] java.util.BitSet#valueOf javax.swing.plaf.synth.SynthDesktopIconUI [class] java.awt.GraphicsDevice.WindowTranslucency [class] java.nio.file.WatchService [class] java.util.BitSet#valueOf javax.swing.plaf.synth.SynthComboBoxUI [class] java.awt.GraphicsConfiguration#isTranslucencyCapable java.nio.file.WatchKey [class] java.util.BitSet#toByteArray javax.swing.plaf.synth.SynthColorChooserUI [class] java.awt.FileDialog#getFiles java.nio.file.WatchEvent [class] java.util.BitSet#toLongArray javax.swing.plaf.synth.SynthCheckBoxUI [class] java.awt.FileDialog#setMultipleMode java.nio.file.WatchEvent.Kind [class] java.util.BitSet#previousSetBit javax.swing.plaf.synth.SynthCheckBoxMenuItemUI [class] java.awt.FileDialog#isMultipleMode java.nio.file.WatchEvent.Modifier [class] java.util.BitSet#previousClearBit javax.swing.plaf.synth.SynthButtonUI [class] java.awt.EventQueue#createSecondaryLoop java.nio.file.StandardWatchEventKinds [class] java.util.concurrent.TransferQueue [class] javax.swing.text.JTextComponent#saveComposedText java.awt.Container#isValidateRoot java.nio.file.StandardOpenOption [class] java.util.concurrent.ThreadLocalRandom [class] javax.swing.text.JTextComponent#restoreComposedText java.awt.Component#revalidate java.nio.file.StandardCopyOption [class] java.util.concurrent.ScheduledThreadPoolExecutor#setRemoveOnCancelPolicy javax.swing.text.DefaultStyledDocument#removeElement java.awt.event.MouseWheelEvent#getPreciseWheelRotation java.nio.file.SimpleFileVisitor [class] java.util.concurrent.ScheduledThreadPoolExecutor#getRemoveOnCancelPolicy javax.swing.tree.DefaultTreeCellRenderer#updateUI java.awt.event.KeyEvent#getExtendedKeyCode java.nio.file.SecureDirectoryStream [class] java.util.concurrent.RecursiveTask [class] java.awt.event.KeyEvent#getExtendedKeyCodeForChar java.nio.file.Paths [class] java.util.concurrent.RecursiveAction [class] java.awt.event.InvocationEvent#isDispatched java.nio.file.PathMatcher [class] java.util.concurrent.Phaser [class] java.awt.font.NumericShaper#getShaper java.nio.file.Path [class] java.util.concurrent.LinkedTransferQueue [class] java.awt.font.NumericShaper#getContextualShaper java.nio.file.OpenOption [class] java.util.concurrent.ForkJoinWorkerThread [class] java.awt.font.NumericShaper#getContextualShaper java.nio.file.NotLinkException [class] java.util.concurrent.ForkJoinTask [class] java.awt.font.NumericShaper#shape java.nio.file.NotDirectoryException [class] java.util.concurrent.ForkJoinPool [class] java.awt.font.NumericShaper#getRangeSet java.nio.file.NoSuchFileException [class] java.util.concurrent.ConcurrentLinkedDeque [class] java.awt.font.NumericShaper.Range [class] java.nio.file.LinkPermission [class] java.util.concurrent.locks.AbstractQueuedSynchronizer#hasQueuedPredecessors java.awt.peer.ComponentPeer#applyShape java.nio.file.LinkOption [class] java.util.concurrent.locks.AbstractQueuedLongSynchronizer#hasQueuedPredecessors java.awt.peer.ComponentPeer#updateGraphicsData java.nio.file.Files [class] java.util.logging.Logger#getGlobal java.awt.peer.CanvasPeer#getAppropriateGraphicsConfiguration java.nio.file.FileVisitor [class] java.util.spi.LocaleNameProvider#getDisplayScript java.beans.XMLDecoder#createHandler java.nio.file.FileVisitResult [class] java.util.spi.CurrencyNameProvider#getDisplayName java.beans.Transient [class] java.nio.file.FileVisitOption [class] java.util.zip.DeflaterOutputStream#flush java.beans.PropertyChangeEvent#toString java.nio.file.FileSystems [class] java.util.zip.Deflater#deflate java.beans.Introspector#getBeanInfo java.nio.file.FileSystemLoopException [class] javax.lang.model.UnknownEntityException [class] java.beans.FeatureDescriptor#toString java.nio.file.FileSystemException [class] javax.lang.model.element.QualifiedNameable [class] java.beans.Expression#execute java.nio.file.FileSystem [class] javax.lang.model.element.Parameterizable [class] java.io.File#toPath java.nio.file.FileStore [class] javax.lang.model.type.UnionType [class] java.lang.Throwable#addSuppressed java.nio.file.FileAlreadyExistsException [class] javax.lang.model.type.TypeVisitor#visitUnion java.lang.Throwable#getSuppressed java.nio.file.DirectoryStream [class] javax.lang.model.util.TypeKindVisitor7 [class] java.lang.Short#compare java.nio.file.DirectoryStream.Filter [class] javax.lang.model.util.SimpleTypeVisitor7 [class] java.lang.ReflectiveOperationException [class] java.nio.file.DirectoryNotEmptyException [class] javax.lang.model.util.SimpleElementVisitor7 [class] java.lang.ProcessBuilder#redirectInput java.nio.file.DirectoryIteratorException [class] javax.lang.model.util.SimpleAnnotationValueVisitor7 [class] java.lang.ProcessBuilder#redirectOutput java.nio.file.CopyOption [class] javax.lang.model.util.ElementScanner7 [class] java.lang.ProcessBuilder#redirectError java.nio.file.ClosedDirectoryStreamException [class] javax.lang.model.util.ElementKindVisitor7 [class] java.lang.ProcessBuilder#redirectInput java.nio.file.AtomicMoveNotSupportedException [class] javax.lang.model.util.ElementKindVisitor6#visitVariableAsResourceVariable java.lang.ProcessBuilder#redirectOutput java.nio.file.AccessMode [class] javax.lang.model.util.AbstractTypeVisitor7 [class] java.lang.ProcessBuilder#redirectError java.nio.file.AccessDeniedException [class] javax.lang.model.util.AbstractTypeVisitor6#visitUnion java.lang.ProcessBuilder#redirectInput java.nio.file.attribute.UserPrincipalNotFoundException [class] javax.lang.model.util.AbstractElementVisitor7 [class] java.lang.ProcessBuilder#redirectOutput java.nio.file.attribute.UserPrincipalLookupService [class] javax.lang.model.util.AbstractAnnotationValueVisitor7 [class] java.lang.ProcessBuilder#redirectError java.nio.file.attribute.UserPrincipal [class] javax.print.attribute.standard.DialogTypeSelection [class] java.lang.ProcessBuilder#inheritIO java.nio.file.attribute.UserDefinedFileAttributeView [class] javax.security.auth.kerberos.KeyTab [class] java.lang.ProcessBuilder.Redirect [class] java.nio.file.attribute.PosixFilePermissions [class] javax.sound.midi.MidiDeviceTransmitter [class] java.lang.Long#compare java.nio.file.attribute.PosixFilePermission [class] javax.sound.midi.MidiDeviceReceiver [class] java.lang.Integer#compare java.nio.file.attribute.PosixFileAttributes [class] javax.sql.CommonDataSource#getParentLogger java.lang.ClassValue [class] java.nio.file.attribute.PosixFileAttributeView [class] javax.sql.rowset.RowSetProvider [class] java.lang.ClassLoader#getClassLoadingLock java.nio.file.attribute.GroupPrincipal [class] javax.sql.rowset.RowSetProvider#newFactory java.lang.ClassLoader#registerAsParallelCapable java.nio.file.attribute.FileTime [class] javax.sql.rowset.RowSetProvider#newFactory java.lang.Character#isBmpCodePoint java.nio.file.attribute.FileStoreAttributeView [class] javax.sql.rowset.RowSetFactory [class] java.lang.Character#isSurrogate java.nio.file.attribute.FileOwnerAttributeView [class] javax.sql.rowset.RowSetFactory#createCachedRowSet java.lang.Character#highSurrogate java.nio.file.attribute.FileAttributeView [class] javax.sql.rowset.RowSetFactory#createFilteredRowSet java.lang.Character#lowSurrogate java.nio.file.attribute.FileAttribute [class] javax.sql.rowset.RowSetFactory#createJdbcRowSet java.lang.Character#isAlphabetic java.nio.file.attribute.DosFileAttributes [class] javax.sql.rowset.RowSetFactory#createJoinRowSet java.lang.Character#isIdeographic java.nio.file.attribute.DosFileAttributeView [class] javax.sql.rowset.RowSetFactory#createWebRowSet java.lang.Character#compare java.nio.file.attribute.BasicFileAttributes [class] javax.swing.SwingUtilities#getUnwrappedParent java.lang.Character#getName java.nio.file.attribute.BasicFileAttributeView [class] javax.swing.SwingUtilities#getUnwrappedView java.lang.Character.UnicodeScript [class] java.nio.file.attribute.AttributeView [class] javax.swing.JTree.EmptySelectionModel#setSelectionMode java.lang.Byte#compare java.nio.file.attribute.AclFileAttributeView [class] javax.swing.JTree.EmptySelectionModel#setRowMapper java.lang.BootstrapMethodError [class] java.nio.file.attribute.AclEntryType [class] javax.swing.JTree.EmptySelectionModel#addTreeSelectionListener java.lang.Boolean#compare java.nio.file.attribute.AclEntryPermission [class] javax.swing.JTree.EmptySelectionModel#removeTreeSelectionListener java.lang.AutoCloseable [class] java.nio.file.attribute.AclEntryFlag [class] javax.swing.JTree.EmptySelectionModel#addPropertyChangeListener java.lang.invoke.WrongMethodTypeException [class] java.nio.file.attribute.AclEntry [class] javax.swing.JTree.EmptySelectionModel#removePropertyChangeListener java.lang.management.PlatformManagedObject [class] java.nio.file.attribute.AclEntry.Builder [class] javax.swing.JSlider#imageUpdate java.lang.management.PlatformLoggingMXBean [class] java.nio.file.spi.FileTypeDetector [class] javax.swing.JList#getSelectedValuesList java.lang.management.ManagementFactory#getPlatformMXBean java.nio.file.spi.FileSystemProvider [class] javax.swing.JLayer [class] java.lang.management.ManagementFactory#getPlatformMXBeans java.security.CryptoPrimitive [class] javax.swing.BorderFactory#createLineBorder java.lang.management.ManagementFactory#getPlatformMXBean java.security.AlgorithmConstraints [class] javax.swing.BorderFactory#createRaisedSoftBevelBorder java.lang.management.ManagementFactory#getPlatformMXBeans java.security.cert.X509CRLEntry#getRevocationReason javax.swing.BorderFactory#createLoweredSoftBevelBorder java.lang.management.ManagementFactory#getPlatformManagementInterfaces java.security.cert.PKIXReason [class] javax.swing.BorderFactory#createSoftBevelBorder java.lang.management.BufferPoolMXBean [class] java.security.cert.Extension [class] javax.swing.BorderFactory#createSoftBevelBorder java.lang.reflect.Modifier#classModifiers java.security.cert.CertificateRevokedException [class] javax.swing.BorderFactory#createSoftBevelBorder java.lang.reflect.Modifier#interfaceModifiers java.security.cert.CertPathValidatorException#getReason javax.swing.BorderFactory#createStrokeBorder java.lang.reflect.Modifier#constructorModifiers java.security.cert.CertPathValidatorException.Reason [class] javax.swing.BorderFactory#createStrokeBorder java.lang.reflect.Modifier#methodModifiers java.security.cert.CertPathValidatorException.BasicReason [class] javax.swing.BorderFactory#createDashedBorder java.lang.reflect.Modifier#fieldModifiers java.security.cert.CRLReason [class] javax.swing.BorderFactory#createDashedBorder java.net.URLClassLoader#getResourceAsStream java.sql.Statement#closeOnCompletion javax.swing.BorderFactory#createDashedBorder java.net.URLClassLoader#close java.sql.Statement#isCloseOnCompletion javax.swing.border.StrokeBorder [class] java.net.StandardSocketOptions [class] java.sql.ResultSet#getObject javax.swing.event.HyperlinkEvent#getInputEvent java.net.StandardProtocolFamily [class] java.sql.ResultSet#getObject javax.swing.plaf.LayerUI [class] java.net.SocketOption [class] java.sql.PseudoColumnUsage [class] javax.swing.plaf.FileChooserUI#getDefaultButton java.net.ProtocolFamily [class] java.sql.Driver#getParentLogger javax.swing.plaf.basic.BasicTreeUI#isDropLine java.net.NetworkInterface#getIndex java.sql.DatabaseMetaData#getPseudoColumns javax.swing.plaf.basic.BasicTreeUI#paintDropLine java.net.NetworkInterface#getByIndex java.sql.DatabaseMetaData#generatedKeyAlwaysReturned javax.swing.plaf.basic.BasicTreeUI#getDropLineRect java.net.InetSocketAddress#getHostString java.sql.Connection#setSchema javax.swing.plaf.basic.BasicTreeUI#updateLeadSelectionRow java.net.InetAddress#getLoopbackAddress java.sql.Connection#getSchema javax.swing.plaf.basic.BasicTreeUI#getLeadSelectionRow java.net.HttpURLConnection#setFixedLengthStreamingMode java.sql.Connection#abort javax.swing.plaf.basic.BasicFileChooserUI#createUI java.nio.channels.WritePendingException [class] java.sql.Connection#setNetworkTimeout javax.swing.plaf.basic.BasicComboBoxUI#getSizeForComponent java.nio.channels.SocketChannel#bind java.sql.Connection#getNetworkTimeout javax.swing.plaf.basic.BasicColorChooserUI#uninstallPreviewPanel java.nio.channels.SocketChannel#setOption java.sql.CallableStatement#getObject javax.swing.plaf.nimbus.NimbusLookAndFeel#shouldUpdateStyleOnEvent java.nio.channels.SocketChannel#shutdownInput java.sql.CallableStatement#getObject javax.swing.plaf.synth.SynthViewportUI [class] java.nio.channels.SocketChannel#shutdownOutput java.util.TimeZone#observesDaylightTime javax.swing.plaf.synth.SynthUI [class] java.nio.channels.SocketChannel#getRemoteAddress java.util.SimpleTimeZone#observesDaylightTime javax.swing.plaf.synth.SynthTreeUI [class] java.nio.channels.ShutdownChannelGroupException [class] java.util.Objects [class] javax.swing.plaf.synth.SynthToolTipUI [class] java.nio.channels.ServerSocketChannel#bind java.util.Locale#getDefault javax.swing.plaf.synth.SynthToolBarUI [class] java.nio.channels.ServerSocketChannel#bind java.util.Locale#setDefault javax.swing.plaf.synth.SynthToggleButtonUI [class] java.nio.channels.ServerSocketChannel#setOption java.util.Locale#getScript javax.swing.plaf.synth.SynthTextPaneUI [class] java.nio.channels.SeekableByteChannel [class] java.util.Locale#getExtension javax.swing.plaf.synth.SynthTextFieldUI [class] java.nio.channels.ReadPendingException [class] java.util.Locale#getExtensionKeys javax.swing.plaf.synth.SynthTextAreaUI [class] java.nio.channels.NetworkChannel [class] java.util.Locale#getUnicodeLocaleAttributes javax.swing.plaf.synth.SynthTableUI [class] java.nio.channels.MulticastChannel [class] java.util.Locale#getUnicodeLocaleType javax.swing.plaf.synth.SynthTableHeaderUI [class] java.nio.channels.MembershipKey [class] java.util.Locale#getUnicodeLocaleKeys javax.swing.plaf.synth.SynthTabbedPaneUI [class] java.nio.channels.InterruptedByTimeoutException [class] java.util.Locale#toLanguageTag javax.swing.plaf.synth.SynthSplitPaneUI [class] java.nio.channels.IllegalChannelGroupException [class] java.util.Locale#forLanguageTag javax.swing.plaf.synth.SynthSpinnerUI [class] java.nio.channels.FileLock#acquiredBy java.util.Locale#getDisplayScript javax.swing.plaf.synth.SynthSliderUI [class] java.nio.channels.FileLock#close java.util.Locale#getDisplayScript javax.swing.plaf.synth.SynthSeparatorUI [class] java.nio.channels.FileChannel#open java.util.Locale.Category [class] javax.swing.plaf.synth.SynthScrollPaneUI [class] java.nio.channels.FileChannel#open java.util.Locale.Builder [class] javax.swing.plaf.synth.SynthScrollBarUI [class] java.nio.channels.DatagramChannel#open java.util.IllformedLocaleException [class] javax.swing.plaf.synth.SynthRootPaneUI [class] java.nio.channels.DatagramChannel#bind java.util.GregorianCalendar#isWeekDateSupported javax.swing.plaf.synth.SynthRadioButtonUI [class] java.nio.channels.DatagramChannel#setOption java.util.GregorianCalendar#getWeekYear javax.swing.plaf.synth.SynthRadioButtonMenuItemUI [class]
  • 5. Objects Short Long Integer Character Byte Boolean Collections AssertionError InetAddress Throwable ProcessBuilder Calendar
  • 6.
  • 7. Objects Short Long Integer Character Byte Boolean Collections AssertionError InetAddress Throwable ProcessBuilder Calendar
  • 8. Objects public static boolean equals(Object a, Object b) public static boolean deepEquals(Object a, Object b) public static int hashCode(Object o) public static int hash(Object... values) public static String toString(Object o) public static String toString(Object o, String nullDefault) public static <T> int compare(T a, T b, Comparator<? super T> c) public static <T> T requireNonNull(T obj) public static <T> T requireNonNull(T obj, String message)
  • 9. Objects#equals Object o1 = new Object(); Object o2 = o1; assert Objects.equals(o1, o2); // true // == // false equals // return (a == b) || (a != null && a.equals(b)) assert Objects.equals("aaa", "aaa"); // true
  • 10. Objects#deepEquals int[][] a1 = { {1, 2, 3}, {4, 5, 6} }; int[][] a2 = { {1, 2, 3}, {4, 5, 6} }; // Arrays.deepEquals assert Objects.deepEquals(a1, a2); // true
  • 11. Objects#toString // 2 // String.valueOf String s1 = Objects.toString("aaa", "null value"); assert s1.equals("aaa"); // true String s2 = Objects.toString(null, "null value"); assert s2.equals("null value"); // true
  • 12. Objects#requireNonNull void setName(String name) { // null this.name = Objects.requireNonNull(name, " "); }
  • 13. Objects Short Long Integer Character Byte Boolean Collections AssertionError InetAddress Throwable ProcessBuilder Calendar
  • 14. #compare // 0 x -1 // x 1 java.lang.Short#compare(short x, short y) java.lang.Long#compare(long x, long y) java.lang.Integer#compare(int x, int y) java.lang.Character#compare(char x, char y) java.lang.Byte#compare(byte x, byte y) java.lang.Boolean#compare(boolean x, boolean y)
  • 15. Objects Short Long Integer Character Byte Boolean Collections AssertionError InetAddress Throwable ProcessBuilder Calendar
  • 16. Collections public static <T> Iterator<T> emptyIterator() public static <T> ListIterator<T> emptyListIterator() public static <T> Enumeration<T> emptyEnumeration()
  • 17. // Iterator // Collections.emptyXXX() public Iterator<E> iterator() { if (data == null) { return Collections.emptyIterator(); } // ... }
  • 18. Objects Short Long Integer Character Byte Boolean Collections AssertionError InetAddress Throwable ProcessBuilder Calendar
  • 20. AssertionError(String, Throwable) try { Class.forName(" "); } catch (ClassNotFoundException e) { // try-catch // // throw new AssertionError(" (^o^) ", e); }
  • 21. Objects Short Long Integer Character Byte Boolean Collections AssertionError InetAddress Throwable ProcessBuilder Calendar
  • 23. InetAddress#getLoopbackAddress InetAddress a = InetAddress.getLoopbackAddress(); assert a.getHostAddress().equals("127.0.0.1"); assert a.getHostName().equals("localhost"); assert a.isLoopbackAddress();
  • 24. Objects Short Long Integer Character Byte Boolean Collections AssertionError InetAddress Throwable ProcessBuilder Calendar
  • 25. Throwable public final synchronized void addSuppressed(Throwable exception) public final synchronized Throwable[] getSuppressed()
  • 26. Throwable#addSuppressed Throwable#getSuppressed // try-with-resources // try { view.setTimes(attrs.lastModifiedTime(), attrs.lastAccessTime(), attrs.creationTime()); } catch (Throwable x) { // rollback try { Files.delete(target); } catch (Throwable suppressed) { x.addSuppressed(suppressed); } throw x; }
  • 27. Objects Short Long Integer Character Byte Boolean Collections AssertionError InetAddress Throwable ProcessBuilder Calendar
  • 28. ProcessBuilder public ProcessBuilder redirectInput(Redirect source) public ProcessBuilder redirectOutput(Redirect destination) public ProcessBuilder redirectError(Redirect destination) public ProcessBuilder redirectInput(File file) public ProcessBuilder redirectOutput(File file) public ProcessBuilder redirectError(File file) public ProcessBuilder redirectErrorStream (boolean redirectErrorStream) public ProcessBuilder inheritIO() public static abstract class Redirect
  • 29. // // md5 input.txt > output.txt ProcessBuilder builder = new ProcessBuilder("md5"); builder.redirectInput(Redirect.from(new File("input.txt"))); builder.redirectOutput(Redirect.to(new File("output.txt"))); Process process = builder.start(); // ...
  • 30. Objects Short Long Integer Character Byte Boolean Collections AssertionError InetAddress Throwable ProcessBuilder Calendar
  • 31. Calendar (GregorianCalendar) public boolean isWeekDateSupported() public int getWeeksInWeekYear() public int getWeekYear() public void setWeekDate(int weekYear, int weekOfYear, int dayOfWeek)
  • 32.
  • 33.
  • 34. Calendar calendar = Calendar.getInstance(); // ISO8601 calendar.setFirstDayOfWeek(MONDAY); calendar.setMinimalDaysInFirstWeek(4); // 2011 1 calendar.setWeekDate(2011, 1, MONDAY); assert calendar.get(YEAR) == 2011; // 2011 assert calendar.get(MONTH) == 0; // 1 assert calendar.get(DAY_OF_MONTH) == 3; // 3
  • 35. Calendar calendar = Calendar.getInstance(); // ISO8601 calendar.setFirstDayOfWeek(MONDAY); calendar.setMinimalDaysInFirstWeek(4); calendar.set(2011, 0, 2); // 2011 1 2 assert calendar.getWeekYear() == 2010; calendar.set(2011, 0, 3); // 2011 1 3 assert calendar.getWeekYear() == 2011;
  • 36. Calendar calendar = Calendar.getInstance(); //ISO8601 calendar.setFirstDayOfWeek(MONDAY); calendar.setMinimalDaysInFirstWeek(4); calendar.set(YEAR, 2011); assert calendar.getWeeksInWeekYear() == 52; calendar.set(YEAR, 2010); assert calendar.getWeeksInWeekYear() == 52; calendar.set(YEAR, 2009); assert calendar.getWeeksInWeekYear() == 53;