congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
DeferredImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
DeferredImpl
in
com.nhaarman.sqlitebuilder.impl

Best Java code snippets using com.nhaarman.sqlitebuilder.impl.DeferredImpl (Showing top 4 results out of 315)

origin: nhaarman/SQLiteBuilder

@NotNull
@Override
public Deferred deferred() {
 return new DeferredImpl(this);
}
origin: nhaarman/SQLiteBuilder

 @Test
 public void previous_returnsProperItem() {
  /* Given */
  SqlPart sqlPart = mock(SqlPart.class);
  DeferredImpl deferred = new DeferredImpl(sqlPart);

  /* When */
  SqlPart result = deferred.previous();

  /* Then */
  assertThat(result, is(sqlPart));
 }
}
origin: nhaarman/SQLiteBuilder

@Test
public void transaction_returnsNotNull() {
 /* Given */
 DeferredImpl deferred = new DeferredImpl(mock(SqlPart.class));
 /* When */
 Transaction result = deferred.transaction();
 /* Then */
 assertThat(result, is(notNullValue()));
}
origin: nhaarman/SQLiteBuilder

@Test
public void prependTo_prependsProperSql() {
 /* Given */
 DeferredImpl deferred = new DeferredImpl(mock(SqlPart.class));
 RawSqlBuilder builder = new RawSqlBuilderImpl();
 /* When */
 deferred.prependTo(builder);
 /* Then */
 assertThat(builder.toString(), is("DEFERRED"));
}
com.nhaarman.sqlitebuilder.implDeferredImpl

Most used methods

  • <init>
  • prependTo
  • previous
  • transaction

Popular in Java

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (Timer)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JButton (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top Sublime Text 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