test_class.declarator: testingFactory = new GuavaBloomFilterFactory()
test_class.modifier: private static final
test_class.original_string: private static final GuavaBloomFilterFactory testingFactory = new GuavaBloomFilterFactory();
test_class.type: GuavaBloomFilterFactory
test_class.var_name: testingFactory
test_class.declarator: defaultTestingConfig = new ExpirableBloomFilterConfig()
test_class.modifier: private static final
test_class.original_string: private static final ExpirableBloomFilterConfig defaultTestingConfig = new ExpirableBloomFilterConfig();
test_class.type: ExpirableBloomFilterConfig
test_class.var_name: defaultTestingConfig
test_class.file: filter-service-core/src/test/java/cn/leancloud/filter/service/GuavaBloomFilterTest.java
test_class.identifier: GuavaBloomFilterTest
test_case.body: @Test
      public void testToJson() throws Exception {
          final Duration validPeriodAfterAccess = Duration.ofSeconds(10);
          final ExpirableBloomFilterConfig config = new ExpirableBloomFilterConfig(defaultTestingConfig);
          config.setValidPeriodAfterAccess(validPeriodAfterAccess);
  
          final GuavaBloomFilter expectedFilter = testingFactory.createFilter(config);
          final ObjectMapper mapper = new ObjectMapper();
  
          final String json = mapper.valueToTree(expectedFilter).toString();
          final GuavaBloomFilter filter = new ObjectMapper().readerFor(GuavaBloomFilter.class).readValue(json);
          assertThat(filter).isEqualTo(expectedFilter);
      }
test_case.class_method_signature: GuavaBloomFilterTest.testToJson()
test_case.full_signature: @Test public void testToJson()
test_case.identifier: testToJson
test_case.invocations: ofSeconds setValidPeriodAfterAccess createFilter toString valueToTree readValue readerFor isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testToJson()
focal_class.declarator: ISO_8601_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
focal_class.modifier: private static final
focal_class.original_string: private static final DateTimeFormatter ISO_8601_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
focal_class.type: DateTimeFormatter
focal_class.var_name: ISO_8601_FORMATTER
focal_class.declarator: created
focal_class.modifier: private final
focal_class.original_string: private final ZonedDateTime created;
focal_class.type: ZonedDateTime
focal_class.var_name: created
focal_class.declarator: filter
focal_class.modifier: @JsonIgnore
      private final
focal_class.original_string: @JsonIgnore
      private final com.google.common.hash.BloomFilter<CharSequence> filter;
focal_class.type: com.google.common.hash.BloomFilter<CharSequence>
focal_class.var_name: filter
focal_class.declarator: validPeriodAfterAccess
focal_class.modifier: @Nullable
      private final
focal_class.original_string: @Nullable
      private final Duration validPeriodAfterAccess;
focal_class.type: Duration
focal_class.var_name: validPeriodAfterAccess
focal_class.declarator: fpp
focal_class.modifier: private final
focal_class.original_string: private final double fpp;
focal_class.type: double
focal_class.var_name: fpp
focal_class.declarator: expectedInsertions
focal_class.modifier: private final
focal_class.original_string: private final int expectedInsertions;
focal_class.type: int
focal_class.var_name: expectedInsertions
focal_class.declarator: timer
focal_class.modifier: private final
focal_class.original_string: private final Timer timer;
focal_class.type: Timer
focal_class.var_name: timer
focal_class.declarator: expiration
focal_class.modifier: private
focal_class.original_string: private ZonedDateTime expiration;
focal_class.type: ZonedDateTime
focal_class.var_name: expiration
focal_class.file: filter-service-core/src/main/java/cn/leancloud/filter/service/GuavaBloomFilter.java
focal_class.identifier: GuavaBloomFilter
focal_class.interfaces: implements ExpirableBloomFilter
focal_class.class_method_signature: GuavaBloomFilter.readFrom(InputStream in)
focal_class.full_signature: static GuavaBloomFilter readFrom(InputStream in)
focal_class.identifier: readFrom
focal_class.modifiers: static
focal_class.parameters: (InputStream in)
focal_class.return: GuavaBloomFilter
focal_class.signature: GuavaBloomFilter readFrom(InputStream in)
focal_class.class_method_signature: GuavaBloomFilter.GuavaBloomFilter(@JsonProperty("expectedInsertions") int expectedInsertions,
                       @JsonProperty("fpp") double fpp,
                       @JsonProperty("created") ZonedDateTime created,
                       @JsonProperty("expiration") ZonedDateTime expiration,
                       @Nullable @JsonProperty("validPeriodAfterAccess") Duration validPeriodAfterAccess)
focal_class.full_signature: @JsonCreator  GuavaBloomFilter(@JsonProperty("expectedInsertions") int expectedInsertions,
                       @JsonProperty("fpp") double fpp,
                       @JsonProperty("created") ZonedDateTime created,
                       @JsonProperty("expiration") ZonedDateTime expiration,
                       @Nullable @JsonProperty("validPeriodAfterAccess") Duration validPeriodAfterAccess)
focal_class.identifier: GuavaBloomFilter
focal_class.modifiers: @JsonCreator
focal_class.parameters: (@JsonProperty("expectedInsertions") int expectedInsertions,
                       @JsonProperty("fpp") double fpp,
                       @JsonProperty("created") ZonedDateTime created,
                       @JsonProperty("expiration") ZonedDateTime expiration,
                       @Nullable @JsonProperty("validPeriodAfterAccess") Duration validPeriodAfterAccess)
focal_class.signature:  GuavaBloomFilter(@JsonProperty("expectedInsertions") int expectedInsertions,
                       @JsonProperty("fpp") double fpp,
                       @JsonProperty("created") ZonedDateTime created,
                       @JsonProperty("expiration") ZonedDateTime expiration,
                       @Nullable @JsonProperty("validPeriodAfterAccess") Duration validPeriodAfterAccess)
focal_class.class_method_signature: GuavaBloomFilter.GuavaBloomFilter(int expectedInsertions,
                       double fpp,
                       ZonedDateTime created,
                       ZonedDateTime expiration,
                       @Nullable Duration validPeriodAfterAccess,
                       Timer timer)
focal_class.full_signature:   GuavaBloomFilter(int expectedInsertions,
                       double fpp,
                       ZonedDateTime created,
                       ZonedDateTime expiration,
                       @Nullable Duration validPeriodAfterAccess,
                       Timer timer)
focal_class.identifier: GuavaBloomFilter
focal_class.parameters: (int expectedInsertions,
                       double fpp,
                       ZonedDateTime created,
                       ZonedDateTime expiration,
                       @Nullable Duration validPeriodAfterAccess,
                       Timer timer)
focal_class.signature:  GuavaBloomFilter(int expectedInsertions,
                       double fpp,
                       ZonedDateTime created,
                       ZonedDateTime expiration,
                       @Nullable Duration validPeriodAfterAccess,
                       Timer timer)
focal_class.class_method_signature: GuavaBloomFilter.GuavaBloomFilter(int expectedInsertions,
                               double fpp,
                               ZonedDateTime created,
                               ZonedDateTime expiration,
                               @Nullable Duration validPeriodAfterAccess,
                               com.google.common.hash.BloomFilter<CharSequence> filter,
                               Timer timer)
focal_class.full_signature: private  GuavaBloomFilter(int expectedInsertions,
                               double fpp,
                               ZonedDateTime created,
                               ZonedDateTime expiration,
                               @Nullable Duration validPeriodAfterAccess,
                               com.google.common.hash.BloomFilter<CharSequence> filter,
                               Timer timer)
focal_class.identifier: GuavaBloomFilter
focal_class.modifiers: private
focal_class.parameters: (int expectedInsertions,
                               double fpp,
                               ZonedDateTime created,
                               ZonedDateTime expiration,
                               @Nullable Duration validPeriodAfterAccess,
                               com.google.common.hash.BloomFilter<CharSequence> filter,
                               Timer timer)
focal_class.signature:  GuavaBloomFilter(int expectedInsertions,
                               double fpp,
                               ZonedDateTime created,
                               ZonedDateTime expiration,
                               @Nullable Duration validPeriodAfterAccess,
                               com.google.common.hash.BloomFilter<CharSequence> filter,
                               Timer timer)
focal_class.class_method_signature: GuavaBloomFilter.created()
focal_class.full_signature: @JsonSerialize(using = ZonedDateTimeSerializer.class) @JsonDeserialize(using = ZonedDateTimeDeserializer.class) public ZonedDateTime created()
focal_class.identifier: created
focal_class.modifiers: @JsonSerialize(using = ZonedDateTimeSerializer.class) @JsonDeserialize(using = ZonedDateTimeDeserializer.class) public
focal_class.parameters: ()
focal_class.return: ZonedDateTime
focal_class.signature: ZonedDateTime created()
focal_class.class_method_signature: GuavaBloomFilter.expiration()
focal_class.full_signature: @Override @JsonSerialize(using = ZonedDateTimeSerializer.class) @JsonDeserialize(using = ZonedDateTimeDeserializer.class) public synchronized ZonedDateTime expiration()
focal_class.identifier: expiration
focal_class.modifiers: @Override @JsonSerialize(using = ZonedDateTimeSerializer.class) @JsonDeserialize(using = ZonedDateTimeDeserializer.class) public synchronized
focal_class.parameters: ()
focal_class.return: ZonedDateTime
focal_class.signature: ZonedDateTime expiration()
focal_class.class_method_signature: GuavaBloomFilter.fpp()
focal_class.full_signature: @Override @JsonGetter("fpp") public double fpp()
focal_class.identifier: fpp
focal_class.modifiers: @Override @JsonGetter("fpp") public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double fpp()
focal_class.class_method_signature: GuavaBloomFilter.expectedInsertions()
focal_class.full_signature: @Override @JsonGetter("expectedInsertions") public int expectedInsertions()
focal_class.identifier: expectedInsertions
focal_class.modifiers: @Override @JsonGetter("expectedInsertions") public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int expectedInsertions()
focal_class.class_method_signature: GuavaBloomFilter.set(String value)
focal_class.full_signature: @Override public boolean set(String value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (String value)
focal_class.return: boolean
focal_class.signature: boolean set(String value)
focal_class.class_method_signature: GuavaBloomFilter.expired()
focal_class.full_signature: @Override public boolean expired()
focal_class.identifier: expired
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean expired()
focal_class.class_method_signature: GuavaBloomFilter.mightContain(String value)
focal_class.full_signature: @Override public boolean mightContain(String value)
focal_class.identifier: mightContain
focal_class.modifiers: @Override public
focal_class.parameters: (String value)
focal_class.return: boolean
focal_class.signature: boolean mightContain(String value)
focal_class.class_method_signature: GuavaBloomFilter.writeTo(OutputStream out)
focal_class.full_signature: public void writeTo(OutputStream out)
focal_class.identifier: writeTo
focal_class.modifiers: public
focal_class.parameters: (OutputStream out)
focal_class.return: void
focal_class.signature: void writeTo(OutputStream out)
focal_class.class_method_signature: GuavaBloomFilter.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: GuavaBloomFilter.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: GuavaBloomFilter.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: GuavaBloomFilter.validPeriodAfterAccess()
focal_class.full_signature: @Nullable @JsonInclude(Include.NON_NULL) @JsonGetter("validPeriodAfterAccess") @JsonSerialize(using = DurationSerializer.class) @JsonDeserialize(using = DurationDeserializer.class) Duration validPeriodAfterAccess()
focal_class.identifier: validPeriodAfterAccess
focal_class.modifiers: @Nullable @JsonInclude(Include.NON_NULL) @JsonGetter("validPeriodAfterAccess") @JsonSerialize(using = DurationSerializer.class) @JsonDeserialize(using = DurationDeserializer.class)
focal_class.parameters: ()
focal_class.return: Duration
focal_class.signature: Duration validPeriodAfterAccess()
focal_class.class_method_signature: GuavaBloomFilter.tryExtendExpiration()
focal_class.full_signature: private void tryExtendExpiration()
focal_class.identifier: tryExtendExpiration
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void tryExtendExpiration()
focal_method.body: @Override
      public String toString() {
          return "GuavaBloomFilter{" +
                  ", expectedInsertions=" + expectedInsertions +
                  ", fpp=" + fpp +
                  ", expiration=" + expiration +
                  ", validPeriodAfterAccess" + validPeriodAfterAccess +
                  ", created=" + created +
                  '}';
      }
focal_method.class_method_signature: GuavaBloomFilter.toString()
focal_method.full_signature: @Override public String toString()
focal_method.identifier: toString
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String toString()