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

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

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

origin: nhaarman/SQLiteBuilder

@NotNull
@Override
public Exclusive exclusive() {
 return new ExclusiveImpl(this);
}
origin: nhaarman/SQLiteBuilder

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

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

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

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

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

Most used methods

  • <init>
  • prependTo
  • previous
  • transaction

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • setRequestProperty (URLConnection)
  • getContentResolver (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top PhpStorm 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