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

How to use
InputFieldWriter$ListWriter
in
com.apollographql.apollo.api

Best Java code snippets using com.apollographql.apollo.api.InputFieldWriter$ListWriter (Showing top 6 results out of 315)

origin: apollographql/apollo-android

@Override
public void writeList(@NotNull String fieldName, ListWriter listWriter) throws IOException {
 if (listWriter == null) {
  buffer.put(fieldName, null);
 } else {
  ListItemWriter listItemWriter = new ListItemWriter(fieldNameComparator);
  listWriter.write(listItemWriter);
  buffer.put(fieldName, listItemWriter.list);
 }
}
origin: com.amazonaws/aws-android-sdk-appsync-runtime

@Override public void writeList(@Nonnull String fieldName, ListWriter listWriter) throws IOException {
 checkNotNull(fieldName, "fieldName == null");
 if (listWriter != null) {
  jsonWriter.name(fieldName).beginArray();
  listWriter.write(new JsonListItemWriter(jsonWriter, scalarTypeAdapters));
  jsonWriter.endArray();
 } else {
  jsonWriter.name(fieldName).nullValue();
 }
}
origin: awslabs/aws-mobile-appsync-sdk-android

@Override public void writeList(@Nonnull String fieldName, ListWriter listWriter) throws IOException {
 checkNotNull(fieldName, "fieldName == null");
 if (listWriter != null) {
  jsonWriter.name(fieldName).beginArray();
  listWriter.write(new JsonListItemWriter(jsonWriter, scalarTypeAdapters));
  jsonWriter.endArray();
 } else {
  jsonWriter.name(fieldName).nullValue();
 }
}
origin: apollographql/apollo-android

@Override public void writeList(@NotNull String fieldName, ListWriter listWriter) throws IOException {
 checkNotNull(fieldName, "fieldName == null");
 if (listWriter != null) {
  jsonWriter.name(fieldName).beginArray();
  listWriter.write(new JsonListItemWriter(jsonWriter, scalarTypeAdapters));
  jsonWriter.endArray();
 } else {
  jsonWriter.name(fieldName).nullValue();
 }
}
origin: apollographql/apollo-android

@Override public void writeList(ListWriter listWriter) throws IOException {
 if (listWriter != null) {
  ListItemWriter nestedListItemWriter = new ListItemWriter(fieldNameComparator);
  listWriter.write(nestedListItemWriter);
  list.add(nestedListItemWriter.list);
 }
}
origin: apollographql/apollo-android

 @Override public void writeList(ListWriter listWriter) throws IOException {
  if (listWriter == null) {
   jsonWriter.nullValue();
  } else {
   jsonWriter.beginArray();
   listWriter.write(new JsonListItemWriter(jsonWriter, scalarTypeAdapters));
   jsonWriter.endArray();
  }
 }
}
com.apollographql.apollo.apiInputFieldWriter$ListWriter

Most used methods

  • write

Popular in Java

  • Start an intent from android
  • compareTo (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JList (javax.swing)
  • JTable (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top plugins for Android Studio
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